mirror of
https://github.com/sqlite/sqlite.git
synced 2025-08-07 02:42:48 +03:00
Rework the column-cache mechanism to be more robust (and more correct).
The column-alias cache is currently disabled, (CVS 6538) FossilOrigin-Name: dd4d67a67454a3ff13c286a2a8360c5f0432c91d
This commit is contained in:
@@ -10,7 +10,7 @@
|
||||
*************************************************************************
|
||||
**
|
||||
**
|
||||
** $Id: trigger.c,v 1.135 2009/02/28 10:47:42 danielk1977 Exp $
|
||||
** $Id: trigger.c,v 1.136 2009/04/23 13:22:44 drh Exp $
|
||||
*/
|
||||
#include "sqliteInt.h"
|
||||
|
||||
@@ -689,7 +689,7 @@ static int codeTriggerProgram(
|
||||
sqlite3VdbeAddOp2(v, OP_ContextPush, 0, 0);
|
||||
VdbeComment((v, "begin trigger %s", pStepList->pTrig->name));
|
||||
while( pTriggerStep ){
|
||||
sqlite3ExprClearColumnCache(pParse, -1);
|
||||
sqlite3ExprCacheClear(pParse);
|
||||
orconf = (orconfin == OE_Default)?pTriggerStep->orconf:orconfin;
|
||||
pParse->trigStack->orconf = orconf;
|
||||
switch( pTriggerStep->op ){
|
||||
|
Reference in New Issue
Block a user