From 0a9808eaa8b7db67de95be65d356ee4ea0a55583 Mon Sep 17 00:00:00 2001 From: Kern Sibbald Date: Sat, 10 Apr 2010 12:19:22 +0200 Subject: [PATCH] Revert "Lets not use PostgreSQL macros for sizes." This reverts commit aa0dfc0c7010c096283f938a9dfd95b1d04ff7bf. --- 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 e984b799af..f09c30cea6 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[64]; - char query[256]; + char sequence[NAMEDATALEN-1]; + char query[NAMEDATALEN+50]; INGresult *result; int id = 0; -- 2.39.5