You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by bo...@apache.org on 2006/05/05 06:20:22 UTC
svn commit: r399948 - /apr/apr-util/trunk/dbd/apr_dbd_sqlite3.c
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);