mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-05 15:55:57 +03:00
When coding a trigger, assume that the "oldmask" requires all columns until
we know otherwise. That pessimistic assumption assures that all necessary parameters are available on a cascading delete trigger. Ticket [e25d9ea771f] FossilOrigin-Name: 03e464be51a1c36fc02cf31178ae91f736dfddd6
This commit is contained in:
@@ -809,6 +809,7 @@ static TriggerPrg *codeRowTrigger(
|
||||
pProgram->nRef = 1;
|
||||
pPrg->pTrigger = pTrigger;
|
||||
pPrg->orconf = orconf;
|
||||
pPrg->oldmask = 0xffffffff;
|
||||
|
||||
/* Allocate and populate a new Parse context to use for coding the
|
||||
** trigger sub-program. */
|
||||
|
Reference in New Issue
Block a user