1
0
mirror of https://github.com/sqlite/sqlite.git synced 2025-08-08 14:02:16 +03:00

Add enforcement of read-only on shadow tables. This does not currently work

since some virtual tables are attempting to update shadow tables using
sqlite3_exec().

FossilOrigin-Name: f79b47c9859de597d5924870752dd7cab89c8f0608e5cceb2281f6ffb2e91930
This commit is contained in:
drh
2018-11-06 13:37:20 +00:00
parent 84c501bac1
commit 5a65470300
6 changed files with 25 additions and 23 deletions

View File

@@ -3086,6 +3086,7 @@ struct Parse {
u8 eTriggerOp; /* TK_UPDATE, TK_INSERT or TK_DELETE */
u8 eOrconf; /* Default ON CONFLICT policy for trigger steps */
u8 disableTriggers; /* True to disable triggers */
u8 writeShadow; /* True if shadow tables are writable */
/**************************************************************************
** Fields above must be initialized to zero. The fields that follow,