aboutsummaryrefslogtreecommitdiff
path: root/src/sqliteInt.h
diff options
context:
space:
mode:
authordrh <>2021-11-04 00:51:53 +0000
committerdrh <>2021-11-04 00:51:53 +0000
commitddfec00de3d0a44defac509b5c5b4d2ea6036dd5 (patch)
tree24e6eda3beeb6f92edc8a1d2ec6758f38ed6e012 /src/sqliteInt.h
parent0b97189c4926318f0b0af59b238cb1c1dae9ce85 (diff)
downloadsqlite-ddfec00de3d0a44defac509b5c5b4d2ea6036dd5.tar.gz
sqlite-ddfec00de3d0a44defac509b5c5b4d2ea6036dd5.zip
First the shadow table mechanism so that it works even if the shadow table
comes before the virtual table in the sqlite_schema table, as can happen after a VACUUM. FossilOrigin-Name: 005a8642773556825fe4c5d0b2c12517d35289308a30df0151ef7f080acb0172
Diffstat (limited to 'src/sqliteInt.h')
-rw-r--r--src/sqliteInt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sqliteInt.h b/src/sqliteInt.h
index 18205ed83..f09f11f98 100644
--- a/src/sqliteInt.h
+++ b/src/sqliteInt.h
@@ -5050,9 +5050,11 @@ int sqlite3ReadOnlyShadowTables(sqlite3 *db);
#ifndef SQLITE_OMIT_VIRTUALTABLE
int sqlite3ShadowTableName(sqlite3 *db, const char *zName);
int sqlite3IsShadowTableOf(sqlite3*,Table*,const char*);
+ void sqlite3MarkAllShadowTablesOf(sqlite3*, Table*);
#else
# define sqlite3ShadowTableName(A,B) 0
# define sqlite3IsShadowTableOf(A,B,C) 0
+# define sqlite3MarkAllShadowTablesOf(A,B)
#endif
int sqlite3VtabEponymousTableInit(Parse*,Module*);
void sqlite3VtabEponymousTableClear(sqlite3*,Module*);