aboutsummaryrefslogtreecommitdiff
path: root/ext/misc/spellfix.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2014-07-24 16:54:28 +0000
committerdrh <drh@noemail.net>2014-07-24 16:54:28 +0000
commit2bd2c29a955a2d459b2b300125eda1d79b070e64 (patch)
tree3dac35daf7fb3c5a48c4e71900dfcff7b4a95311 /ext/misc/spellfix.c
parent6614181610e4c40e44484a1c7b14b253d512ad77 (diff)
parentba5b09319e2f79707bcc55a84a5f059ea0949334 (diff)
downloadsqlite-2bd2c29a955a2d459b2b300125eda1d79b070e64.tar.gz
sqlite-2bd2c29a955a2d459b2b300125eda1d79b070e64.zip
Merge all recent trunk changes into the threads branch.
FossilOrigin-Name: 770685892c8f09b9cddb2fbb2877cfb291e19425
Diffstat (limited to 'ext/misc/spellfix.c')
-rw-r--r--ext/misc/spellfix.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/misc/spellfix.c b/ext/misc/spellfix.c
index a62d24c59..2e6743e4f 100644
--- a/ext/misc/spellfix.c
+++ b/ext/misc/spellfix.c
@@ -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++){