From aa0dfc0c7010c096283f938a9dfd95b1d04ff7bf Mon Sep 17 00:00:00 2001 From: Marco van Wieringen Date: Sat, 3 Apr 2010 16:37:25 +0200 Subject: [PATCH] Lets not use PostgreSQL macros for sizes. --- bacula/src/cats/ingres.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bacula/src/cats/ingres.c b/bacula/src/cats/ingres.c index f09c30cea6..e984b799af 100755 --- a/bacula/src/cats/ingres.c +++ b/bacula/src/cats/ingres.c @@ -617,8 +617,8 @@ int my_ingres_currval(B_DB *mdb, const char *table_name) * As we name all sequences as _seq this is easy. */ - char sequence[NAMEDATALEN-1]; - char query[NAMEDATALEN+50]; + char sequence[64]; + char query[256]; INGresult *result; int id = 0; -- 2.39.5