1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-07-08 19:42:06 +03:00

Enable SQLITE_VTAB_INNOCUOUS for FTS3, FTS5, and RTREE.

FossilOrigin-Name: f34c533b6c1f8ef3f69c75c1039406c12751cdde1fbdcb4d9776b24455facf8a
This commit is contained in:
drh
2023-10-12 18:46:27 +00:00
parent a11499a156
commit 4b136ed70a
6 changed files with 18 additions and 11 deletions

View File

@ -3615,6 +3615,8 @@ static int rtreeInit(
}
sqlite3_vtab_config(db, SQLITE_VTAB_CONSTRAINT_SUPPORT, 1);
sqlite3_vtab_config(db, SQLITE_VTAB_INNOCUOUS);
/* Allocate the sqlite3_vtab structure */
nDb = (int)strlen(argv[1]);