diff options
author | drh <drh@noemail.net> | 2020-01-07 19:45:40 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2020-01-07 19:45:40 +0000 |
commit | 2b1c2aad9f45a21e04d3420152779386b6cf7d33 (patch) | |
tree | 1a1df932219cf9ffcc8aafd31aed443f0b661b47 /ext/misc/spellfix.c | |
parent | 3f68142b820d10f3b0b4b9df65e789f4058eb67d (diff) | |
download | sqlite-2b1c2aad9f45a21e04d3420152779386b6cf7d33.tar.gz sqlite-2b1c2aad9f45a21e04d3420152779386b6cf7d33.zip |
Create the "trusted_schema" pragma. Add sqlite3_vtab_config() calls to set
the risk rank for many virtual tables.
FossilOrigin-Name: 4c21373c21c9b17b222ae65297a039a035e6ec6b505c00c33704e3c03f94f834
Diffstat (limited to 'ext/misc/spellfix.c')
-rw-r--r-- | ext/misc/spellfix.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/misc/spellfix.c b/ext/misc/spellfix.c index 81bef139a..b7d4468d9 100644 --- a/ext/misc/spellfix.c +++ b/ext/misc/spellfix.c @@ -2069,6 +2069,7 @@ static int spellfix1Init( if( pNew->zTableName==0 ){ rc = SQLITE_NOMEM; }else{ + sqlite3_vtab_config(db, SQLITE_INNOCUOUS); rc = sqlite3_declare_vtab(db, "CREATE TABLE x(word,rank,distance,langid, " "score, matchlen, phonehash HIDDEN, " |