From: Kern Sibbald Date: Fri, 6 Nov 2009 20:56:18 +0000 (+0100) Subject: Tweak myingres.c so it build only when HAVE_INGRES X-Git-Tag: Release-7.0.0~2413 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a102733aeb65938595685ed510bfb73531ccc24b;p=bacula%2Fbacula Tweak myingres.c so it build only when HAVE_INGRES --- 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 )