From 84c501bac16576916840daffb671b72cf1f75625 Mon Sep 17 00:00:00 2001 From: drh Date: Mon, 5 Nov 2018 23:01:45 +0000 Subject: Initial code to make shadow tables read-only to ordinary SQL. The now xShadowName method is added to the sqlite3_module object and is used to identify potential shadow tables. The SQLITE_PREPARE_SHADOW argument to sqlite3_prepare_v3() is defined. It is designed to permit writing to shadow tables, but is currently an unused placeholder. FossilOrigin-Name: 31942b3dd3f66eb0d9977bf1cadc2f2d7be7967cce2b55784be0b939dfef1985 --- ext/misc/explain.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ext/misc/explain.c') diff --git a/ext/misc/explain.c b/ext/misc/explain.c index b228440f5..dc0c9d766 100644 --- a/ext/misc/explain.c +++ b/ext/misc/explain.c @@ -280,6 +280,7 @@ static sqlite3_module explainModule = { 0, /* xSavepoint */ 0, /* xRelease */ 0, /* xRollbackTo */ + 0, /* xShadowName */ }; #endif /* SQLITE_OMIT_VIRTUALTABLE */ -- cgit v1.2.3