persistentstorage/sql/SQLite/delete.c
branchRCL_3
changeset 45 cc28652e0254
parent 44 26645d81f48d
equal deleted inserted replaced
44:26645d81f48d 45:cc28652e0254
   141 
   141 
   142 #ifndef SQLITE_OMIT_TRIGGER
   142 #ifndef SQLITE_OMIT_TRIGGER
   143   int isView;                  /* True if attempting to delete from a view */
   143   int isView;                  /* True if attempting to delete from a view */
   144   int triggers_exist = 0;      /* True if any triggers exist */
   144   int triggers_exist = 0;      /* True if any triggers exist */
   145 #endif
   145 #endif
   146   int iBeginAfterTrigger = 0;  /* Address of after trigger program */
   146   int iBeginAfterTrigger;      /* Address of after trigger program */
   147   int iEndAfterTrigger = 0;    /* Exit of after trigger program */
   147   int iEndAfterTrigger;        /* Exit of after trigger program */
   148   int iBeginBeforeTrigger = 0; /* Address of before trigger program */
   148   int iBeginBeforeTrigger;     /* Address of before trigger program */
   149   int iEndBeforeTrigger = 0;   /* Exit of before trigger program */
   149   int iEndBeforeTrigger;       /* Exit of before trigger program */
   150   u32 old_col_mask = 0;        /* Mask of OLD.* columns in use */
   150   u32 old_col_mask = 0;        /* Mask of OLD.* columns in use */
   151 
   151 
   152   sContext.pParse = 0;
   152   sContext.pParse = 0;
   153   db = pParse->db;
   153   db = pParse->db;
   154   if( pParse->nErr || db->mallocFailed ){
   154   if( pParse->nErr || db->mallocFailed ){