apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bo...@apache.org
Subject svn commit: r399948 - /apr/apr-util/trunk/dbd/apr_dbd_sqlite3.c
Date Fri, 05 May 2006 04:20:22 GMT
Author: bojan
Date: Thu May  4 21:20:20 2006
New Revision: 399948

URL: http://svn.apache.org/viewcvs?rev=399948&view=rev
Log:
Don't pay attention to transactions when preparing a statement for SQLite3.

Modified:
    apr/apr-util/trunk/dbd/apr_dbd_sqlite3.c

Modified: apr/apr-util/trunk/dbd/apr_dbd_sqlite3.c
URL: http://svn.apache.org/viewcvs/apr/apr-util/trunk/dbd/apr_dbd_sqlite3.c?rev=399948&r1=399947&r2=399948&view=diff
==============================================================================
--- apr/apr-util/trunk/dbd/apr_dbd_sqlite3.c (original)
+++ apr/apr-util/trunk/dbd/apr_dbd_sqlite3.c Thu May  4 21:20:20 2006
@@ -327,10 +327,6 @@
     }
     *p = 0;
 
-    if (sql->trans && sql->trans->errnum) {
-        return sql->trans->errnum;
-    }
-
     apr_dbd_mutex_lock();
 
     ret = sqlite3_prepare(sql->conn, slquery, strlen(query), &stmt, &tail);



Mime
View raw message