persistentstorage/sql/SQLite/delete.c
changeset 17 55f2396f6d25
parent 0 08ec8eefde2f
child 45 cc28652e0254
--- a/persistentstorage/sql/SQLite/delete.c	Fri Apr 16 16:49:27 2010 +0300
+++ b/persistentstorage/sql/SQLite/delete.c	Mon May 03 14:09:14 2010 +0300
@@ -143,10 +143,10 @@
   int isView;                  /* True if attempting to delete from a view */
   int triggers_exist = 0;      /* True if any triggers exist */
 #endif
-  int iBeginAfterTrigger;      /* Address of after trigger program */
-  int iEndAfterTrigger;        /* Exit of after trigger program */
-  int iBeginBeforeTrigger;     /* Address of before trigger program */
-  int iEndBeforeTrigger;       /* Exit of before trigger program */
+  int iBeginAfterTrigger = 0;  /* Address of after trigger program */
+  int iEndAfterTrigger = 0;    /* Exit of after trigger program */
+  int iBeginBeforeTrigger = 0; /* Address of before trigger program */
+  int iEndBeforeTrigger = 0;   /* Exit of before trigger program */
   u32 old_col_mask = 0;        /* Mask of OLD.* columns in use */
 
   sContext.pParse = 0;