davidjanmercado / sqlite-jdbc

Automatically exported from code.google.com/p/sqlite-jdbc
Apache License 2.0
0 stars 0 forks source link

Conn#setReadOnly #25

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I think should not throw the exception, when I call next statment.

conn.setReadOnly(false);

    public void setReadOnly(boolean ro) throws SQLException {
-         if (!isReadOnly()) {
+         if (ro == true && !isReadOnly()) {

Original issue reported on code.google.com by satoshi....@gmail.com on 22 Mar 2012 at 2:20

GoogleCodeExporter commented 8 years ago
moved to bitbucket issue: https://bitbucket.org/xerial/sqlite-jdbc/issue/15

Original comment by Grace.Ba...@gmail.com on 8 Sep 2012 at 2:56

GoogleCodeExporter commented 8 years ago
Fixed on bitbucket: 
https://bitbucket.org/xerial/sqlite-jdbc/pull-request/18/fixes-15-conn-setreadon
ly

Original comment by Grace.Ba...@gmail.com on 8 Sep 2012 at 3:02

GoogleCodeExporter commented 8 years ago
Fixed

Original comment by Grace.Ba...@gmail.com on 12 Sep 2012 at 2:52