diff options
author | drh <drh@noemail.net> | 2018-11-05 23:01:45 +0000 |
---|---|---|
committer | drh <drh@noemail.net> | 2018-11-05 23:01:45 +0000 |
commit | 84c501bac16576916840daffb671b72cf1f75625 (patch) | |
tree | 46dec0ac65957e550787f4137ffba3fd31accf0c /ext/misc/explain.c | |
parent | 2d13f6016b4d7fa7b6618a2d79594cb5111f929d (diff) | |
download | sqlite-84c501bac16576916840daffb671b72cf1f75625.tar.gz sqlite-84c501bac16576916840daffb671b72cf1f75625.zip |
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
Diffstat (limited to 'ext/misc/explain.c')
-rw-r--r-- | ext/misc/explain.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 */ |