]> git.ipfire.org Git - thirdparty/sqlite.git/commitdiff
Fix the index name for the shadow tables in the spellfix1 extension so that
authordrh <drh@noemail.net>
Tue, 22 Jul 2014 16:00:49 +0000 (16:00 +0000)
committerdrh <drh@noemail.net>
Tue, 22 Jul 2014 16:00:49 +0000 (16:00 +0000)
multiple instances of the spellfix1 virtual table can each have their own
index.

FossilOrigin-Name: 438c348a40383796a710499e4e1b7a6b08f75778

ext/misc/spellfix.c
manifest
manifest.uuid

index a62d24c592027217c2870045e9cb3100565556be..2e6743e4f7a776e868dcf6a8185782d199d36abd 100644 (file)
@@ -1893,7 +1893,7 @@ static int spellfix1Init(
   char **pzErr
 ){
   spellfix1_vtab *pNew = 0;
-  const char *zModule = argv[0];
+  /* const char *zModule = argv[0]; // not used */
   const char *zDbName = argv[1];
   const char *zTableName = argv[2];
   int nDbName;
@@ -1947,7 +1947,7 @@ static int spellfix1Init(
       spellfix1DbExec(&rc, db,
          "CREATE INDEX IF NOT EXISTS \"%w\".\"%w_vocab_index_langid_k2\" "
             "ON \"%w_vocab\"(langid,k2);",
-         zDbName, zModule, zTableName
+         zDbName, zTableName, zTableName
       );
     }
     for(i=3; rc==SQLITE_OK && i<argc; i++){
index 8bed619c3d26552a8efe7e499b91fe66fff07d3e..cdf41d31ba1c6a4103fa32d7fee12f02cfb3b6dd 100644 (file)
--- a/manifest
+++ b/manifest
@@ -1,5 +1,5 @@
-C Correction:\s\sThe\smaximum\sSQLITE_MAX_ATTACHED\svalue\sto\savoid\soverflowing\sa\nsigned\s8-bit\sinteger\sis\s125,\snot\s127.
-D 2014-07-22T15:33:31.603
+C Fix\sthe\sindex\sname\sfor\sthe\sshadow\stables\sin\sthe\sspellfix1\sextension\sso\sthat\nmultiple\sinstances\sof\sthe\sspellfix1\svirtual\stable\scan\seach\shave\stheir\sown\nindex.
+D 2014-07-22T16:00:49.088
 F Makefile.arm-wince-mingw32ce-gcc d6df77f1f48d690bd73162294bbba7f59507c72f
 F Makefile.in 5eb79e334a5de69c87740edd56af6527dd219308
 F Makefile.linux-gcc 91d710bdc4998cb015f39edf3cb314ec4f4d7e23
@@ -116,7 +116,7 @@ F ext/misc/nextchar.c 35c8b8baacb96d92abbb34a83a997b797075b342
 F ext/misc/percentile.c bcbee3c061b884eccb80e21651daaae8e1e43c63
 F ext/misc/regexp.c af92cdaa5058fcec1451e49becc7ba44dba023dc
 F ext/misc/rot13.c 1ac6f95f99b575907b9b09c81a349114cf9be45a
-F ext/misc/spellfix.c 93f3961074cebe63c31fcefe62ca2a032ee8dfed
+F ext/misc/spellfix.c cb016c2dab951ffd7b819a7bc8a750ebd6c26c0f
 F ext/misc/totype.c 4a167594e791abeed95e0a8db028822b5e8fe512
 F ext/misc/vfslog.c fe40fab5c077a40477f7e5eba994309ecac6cc95
 F ext/misc/vtshim.c babb0dc2bf116029e3e7c9a618b8a1377045303e
@@ -1183,7 +1183,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 ca2a5a2c770fa94cd8db1b1b241ede058a7c58e2
-R c3cff698f37a9f53c6d75b84d0e942cf
+P 48e378029528dac33d29866016128d236a7995d9
+R ef5e99a62dffbd3ce7a7196840380036
 U drh
-Z 54df2fe47e5bf7bb724052e4ddee7e12
+Z f16a3660aabbbb2778203c851a571a70
index 29f2036f2d8a55b986d58491e32e24d6ad894b8e..e6d3a6b9d4aee531d41f75c62c09a94641994a59 100644 (file)
@@ -1 +1 @@
-48e378029528dac33d29866016128d236a7995d9
\ No newline at end of file
+438c348a40383796a710499e4e1b7a6b08f75778
\ No newline at end of file