From: Marco van Wieringen Date: Sat, 3 Apr 2010 14:37:25 +0000 (+0200) Subject: Lets not use PostgreSQL macros for sizes. X-Git-Tag: Release-5.0.2~121 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=aa0dfc0c7010c096283f938a9dfd95b1d04ff7bf;p=bacula%2Fbacula Lets not use PostgreSQL macros for sizes. --- 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;