From de689f9a65f1c82ecc32411019d5d301f81ad971 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Fri, 6 Nov 2009 21:56:18 +0100 Subject: [PATCH] Tweak myingres.c so it build only when HAVE_INGRES --- bacula/src/cats/myingres.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/bacula/src/cats/myingres.c b/bacula/src/cats/myingres.c index 17e5ffc9bb..16792f735c 100644 --- a/bacula/src/cats/myingres.c +++ b/bacula/src/cats/myingres.c @@ -9,8 +9,6 @@ extern IISQLCA sqlca; /* SQL Communications Area */ #include - - #include "myingres.h" #define INGRES_DEBUG 0 #define DEBB(x) if (INGRES_DEBUG >= x) { @@ -230,6 +228,7 @@ void INGfreeRowSpace(ING_ROW *row, IISQLDA *sqlda) int i; if (row == NULL || sqlda == NULL) { + printf("INGfreeRowSpace: one argument is NULL!\n"); return; } for ( i = 0 ; i < sqlda->sqld ; ++i ) -- 2.39.5