View | Details | Raw Unified | Return to bug 137001
Collapse All | Expand All

(-)/usr/ports/java/sqlitejdbc/files/patch-src_org_sqlite_Conn.java (-1 / +14 lines)
Line  Link Here
--
Line 0 Link Here
1
--- src/org/sqlite/Conn.java.orig	2009-07-22 18:33:46.000000000 +0200
2
+++ src/org/sqlite/Conn.java	2009-07-22 18:33:53.000000000 +0200
3
@@ -214,7 +214,10 @@ class Conn implements Connection
4
                                      ResultSet.CONCUR_READ_ONLY);
5
     }
6
     public PreparedStatement prepareStatement(String sql, int autoC)
7
-        throws SQLException { throw new SQLException("NYI"); }
8
+                                throws SQLException {
9
+        return prepareStatement(sql, ResultSet.TYPE_FORWARD_ONLY,
10
+                                     ResultSet.CONCUR_READ_ONLY);
11
+    }
12
     public PreparedStatement prepareStatement(String sql, int[] colInds)
13
         throws SQLException { throw new SQLException("NYI"); }
14
     public PreparedStatement prepareStatement(String sql, String[]

Return to bug 137001