mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-08 14:02:16 +03:00
Add the SQLITE_VTAB_USES_ALL_SCHEMAS option to sqlite3_vtab_config(). Update
the sqlite_dbpage, sqlite_dbdata, and sqlite_dbptr virtual tables to make use of that interface. This was formerly handled by the internal sqlite3VtabUsesAllSchemas() routine that was called directly from sqlite_dbpage. But since sqlite_dbdata and sqlite_dbptr are an extension, an external interface to that functionality had to be provided. dbsqlfuzz 1a29c245175a63393b6a78c5b8cab5199939d6a8 FossilOrigin-Name: bcd51abee0b0f82bb5dbb881025a92d55baf9df6adeaf3a305e2e0da96a81d58
This commit is contained in:
@@ -1331,6 +1331,10 @@ int sqlite3_vtab_config(sqlite3 *db, int op, ...){
|
||||
p->pVTable->eVtabRisk = SQLITE_VTABRISK_High;
|
||||
break;
|
||||
}
|
||||
case SQLITE_VTAB_USES_ALL_SCHEMAS: {
|
||||
p->pVTable->bAllSchemas = 1;
|
||||
break;
|
||||
}
|
||||
default: {
|
||||
rc = SQLITE_MISUSE_BKPT;
|
||||
break;
|
||||
|
Reference in New Issue
Block a user