]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Suppress the potential schema error that occurs when a non-user-auth
authordrh <drh@noemail.net>
Thu, 11 Sep 2014 16:36:43 +0000 (16:36 +0000)
committerdrh <drh@noemail.net>
Thu, 11 Sep 2014 16:36:43 +0000 (16:36 +0000)
SQLite library tries to parse the sqlite_user table definition in a
user-auth database.

FossilOrigin-Name: cda33c1ef35416a155af602c0b4e9d42ccf8633f

manifest
manifest.uuid
src/build.c

index bbf33a5fb6c60924630bb257d1e5db3aee235ddc..3fc0ea1b3fa5109266b14c4dfccc94d0f6b82aeb 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Enhance\sthe\ssqlite3_user_add()\sinterface\sto\sinitialize\sthe\suser\nauthentication\slogic.\s\sAdd\stest\scases\sfor\sthe\sextra\sargument\son\sthe\nend\sof\sthe\sauthorizer\scallback.
-D 2014-09-11T16:19:31.719
+C Suppress\sthe\spotential\sschema\serror\sthat\soccurs\swhen\sa\snon-user-auth\nSQLite\slibrary\stries\sto\sparse\sthe\ssqlite_user\stable\sdefinition\sin\sa\nuser-auth\sdatabase.
+D 2014-09-11T16:36:43.549
 F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f
 F Makefile.in cf57f673d77606ab0f2d9627ca52a9ba1464146a
 F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23
@@ -174,7 +174,7 @@ F src/btmutex.c 49ca66250c7dfa844a4d4cb8272b87420d27d3a5
 F src/btree.c b1c1cd1cc3ae2e433a23b9a6c9ab53805707d8cd
 F src/btree.h a79aa6a71e7f1055f01052b7f821bd1c2dce95c8
 F src/btreeInt.h e0ecb5dba292722039a7540beb3fc448103273cc
-F src/build.c 555826ae03c3bc589a7b09b279c2e5ba989a4178
+F src/build.c 047d7e1d2d89fa55134fa1d6b669c9c2983c0d11
 F src/callback.c 7b44ce59674338ad48b0e84e7b72f935ea4f68b0
 F src/complete.c 535183afb3c75628b78ce82612931ac7cdf26f14
 F src/ctime.c 16cd19215d9fd849ee2b7509b092f2e0bbd6a958
@@ -1197,7 +1197,7 @@ F tool/vdbe_profile.tcl 67746953071a9f8f2f668b73fe899074e2c6d8c1
 F tool/warnings-clang.sh f6aa929dc20ef1f856af04a730772f59283631d4
 F tool/warnings.sh 0abfd78ceb09b7f7c27c688c8e3fe93268a13b32
 F tool/win/sqlite.vsix deb315d026cc8400325c5863eef847784a219a2f
-P 96ea5c0b3cd1dec81d490f2f958ebd2e47a24921
-R 279311d0c4a57cb81a913da29cc5dd35
+P 842c6da8f1a62bd13a1b4089a98b0835a46a2285
+R 7de809a255ed1cf8a77cea399ddd7268
 U drh
-Z cf3239448d4f92059057a29736710c2c
+Z 0b3d163c7ef70d6122b5132c30860c28
index 78c06de5d37fcbbdc82f49d672011b6201f40f0b..8aae50413567a433d1bc92f57d25e9c1721039c4 100644 (file)
@@ -1 +1 @@
-842c6da8f1a62bd13a1b4089a98b0835a46a2285
\ No newline at end of file
+cda33c1ef35416a155af602c0b4e9d42ccf8633f
\ No newline at end of file
index 84ffb0a38c91ab73c482a1d585a775bf4d8320fb..791f6f2033abc89a94c8a11b1d8e8783509e8703 100644 (file)
@@ -2901,6 +2901,7 @@ Index *sqlite3CreateIndex(
   assert( pTab!=0 );
   assert( pParse->nErr==0 );
   if( sqlite3StrNICmp(pTab->zName, "sqlite_", 7)==0 
+       && db->init.busy==0
 #if SQLITE_USER_AUTHENTICATION
        && sqlite3UserAuthTable(pTab->zName)==0
 #endif