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

Only allow shadow table to be written from within a recursive SQL call.

Omit the SQLITE_PREPARE_SHADOW flag.  Some tests are failing because the
tests depend on being able to write to shadow tables.

FossilOrigin-Name: d890c6582524677666e6f5b5817331dec332ade16b2f744cbb8a3c7dd9b63e21
This commit is contained in:
drh
2018-11-06 14:03:07 +00:00
parent 5a65470300
commit fc25721c9e
11 changed files with 25 additions and 43 deletions

View File

@@ -3086,7 +3086,6 @@ 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,