From 066fdd26439ce257da9ddbb276afb838cba7f46d Mon Sep 17 00:00:00 2001 From: zacheiss Date: Tue, 13 Aug 2002 15:51:51 +0000 Subject: [PATCH] Some globals that really should be wrapped in EXEC SQL BEGIN/END DECLARE SECTION. --- server/increment.pc | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/increment.pc b/server/increment.pc index ea75a862..cf30ddda 100644 --- a/server/increment.pc +++ b/server/increment.pc @@ -34,6 +34,7 @@ time_t inc_started; EXEC SQL WHENEVER SQLERROR DO dbmserr(); +EXEC SQL BEGIN DECLARE SECTION; /* structures to save before args */ static char *before[MAXARGC]; static int beforec; @@ -42,6 +43,7 @@ static enum tables beforetable; /* structures to save after args */ static char *after[MAXARGC]; static int afterc; +EXEC SQL END DECLARE SECTION; /* structures to save entire sets of incremental changes */ struct save_queue *incremental_sq = NULL; -- 2.45.2