diff options
author | danielk1977 <danielk1977@noemail.net> | 2008-12-30 06:24:58 +0000 |
---|---|---|
committer | danielk1977 <danielk1977@noemail.net> | 2008-12-30 06:24:58 +0000 |
commit | ab9b703fdef545ad3392b4743e173197eb358468 (patch) | |
tree | bc9e022f787eb21c424be43fc55a08676732fee2 /src/tclsqlite.c | |
parent | 954701a0548298577d7f43024be7e5b285c9f494 (diff) | |
download | sqlite-ab9b703fdef545ad3392b4743e173197eb358468.tar.gz sqlite-ab9b703fdef545ad3392b4743e173197eb358468.zip |
Invoke the authorization callback when compiling SAVEPOINT, ROLLBACK TO and RELEASE commands. (CVS 6074)
FossilOrigin-Name: e49807b16f7f86d3f2290d6c1f7562f3db6330f9
Diffstat (limited to 'src/tclsqlite.c')
-rw-r--r-- | src/tclsqlite.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tclsqlite.c b/src/tclsqlite.c index 5541b0c76..e3fd44c1a 100644 --- a/src/tclsqlite.c +++ b/src/tclsqlite.c @@ -12,7 +12,7 @@ ** A TCL Interface to SQLite. Append this file to sqlite3.c and ** compile the whole thing to build a TCL-enabled version of SQLite. ** -** $Id: tclsqlite.c,v 1.231 2008/12/10 22:18:40 drh Exp $ +** $Id: tclsqlite.c,v 1.232 2008/12/30 06:24:58 danielk1977 Exp $ */ #include "tcl.h" #include <errno.h> @@ -809,6 +809,7 @@ static int auth_callback( case SQLITE_CREATE_VTABLE : zCode="SQLITE_CREATE_VTABLE"; break; case SQLITE_DROP_VTABLE : zCode="SQLITE_DROP_VTABLE"; break; case SQLITE_FUNCTION : zCode="SQLITE_FUNCTION"; break; + case SQLITE_SAVEPOINT : zCode="SQLITE_SAVEPOINT"; break; default : zCode="????"; break; } Tcl_DStringInit(&str); |