]> git.sur5r.net Git - bacula/bacula/commitdiff
Lets not use PostgreSQL macros for sizes.
authorMarco van Wieringen <mvw@planets.elm.net>
Sat, 3 Apr 2010 14:37:25 +0000 (16:37 +0200)
committerMarco van Wieringen <mvw@planets.elm.net>
Fri, 9 Apr 2010 11:23:51 +0000 (13:23 +0200)
bacula/src/cats/ingres.c

index f09c30cea61c36b27380076fcd4cefd248b19400..e984b799af50d1d04034a0ac8177fdead791823f 100755 (executable)
@@ -617,8 +617,8 @@ int my_ingres_currval(B_DB *mdb, const char *table_name)
     * As we name all sequences as <table>_seq this is easy.
     */
 
-   char sequence[NAMEDATALEN-1];
-   char query[NAMEDATALEN+50];
+   char sequence[64];
+   char query[256];
    INGresult *result;
    int id = 0;