aboutsummaryrefslogtreecommitdiff
path: root/src/auth.c
diff options
context:
space:
mode:
authordan <dan@noemail.net>2018-08-09 20:47:01 +0000
committerdan <dan@noemail.net>2018-08-09 20:47:01 +0000
commitcf8f2895424da7f73a96515abf3e42ef480eec2e (patch)
treea420a500591a0264e081a5f78f555d23b0717aa8 /src/auth.c
parentd98f53249c363a48757500cf8918e160bc0ec8c1 (diff)
downloadsqlite-cf8f2895424da7f73a96515abf3e42ef480eec2e.tar.gz
sqlite-cf8f2895424da7f73a96515abf3e42ef480eec2e.zip
Experimental implementation of ALTER TABLE ... RENAME COLUMN. Still buggy.
FossilOrigin-Name: fa0fc01eb48a864f0a3d43f9b805d5ed2e530846ee0c34fcbc2eabd9e5696277
Diffstat (limited to 'src/auth.c')
-rw-r--r--src/auth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/auth.c b/src/auth.c
index a708d0c24..918ff46c3 100644
--- a/src/auth.c
+++ b/src/auth.c
@@ -207,7 +207,7 @@ int sqlite3AuthCheck(
/* Don't do any authorization checks if the database is initialising
** or if the parser is being invoked from within sqlite3_declare_vtab.
*/
- if( db->init.busy || IN_DECLARE_VTAB ){
+ if( db->init.busy || IN_SPECIAL_PARSE ){
return SQLITE_OK;
}