diff options
author | drh <drh@noemail.net> | 2003-01-29 14:06:07 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2003-01-29 14:06:07 +0000 |
commit | 326dce74511a963dba56c046a86e82193c44e128 (patch) | |
tree | 0d60f783771ac4eefc7698de64031c2ac883e5ae /src/util.c | |
parent | b86ccfb26ec22446a99b12c38e295b5505201556 (diff) | |
download | sqlite-326dce74511a963dba56c046a86e82193c44e128.tar.gz sqlite-326dce74511a963dba56c046a86e82193c44e128.zip |
The callback-free API is now working, though much more testing is need. (CVS 853)
FossilOrigin-Name: 162b259188e6967fe9c3722da26b81aab5655d83
Diffstat (limited to 'src/util.c')
-rw-r--r-- | src/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.c b/src/util.c index f71950cef..26e7afcb2 100644 --- a/src/util.c +++ b/src/util.c @@ -14,7 +14,7 @@ ** This file contains functions for allocating memory, comparing ** strings, and stuff like that. ** -** $Id: util.c,v 1.56 2003/01/14 00:44:09 drh Exp $ +** $Id: util.c,v 1.57 2003/01/29 14:06:09 drh Exp $ */ #include "sqliteInt.h" #include <stdarg.h> @@ -1196,7 +1196,7 @@ int sqliteSafetyOff(sqlite *db){ ** at the wrong time or in the wrong sequence. */ int sqliteSafetyCheck(sqlite *db){ - if( db->recursionDepth ){ + if( db->pVdbe!=0 ){ db->magic = SQLITE_MAGIC_ERROR; return 1; } |