From: Marco van Wieringen Date: Fri, 16 Apr 2010 08:39:44 +0000 (+0200) Subject: For now the Ingres type is not TEXT but VARCHAR(256) so lets define the temporary... X-Git-Tag: Release-5.2.1~1471 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a6f61189fa4db0171da52aad01367a353b437427;p=bacula%2Fbacula For now the Ingres type is not TEXT but VARCHAR(256) so lets define the temporary table that way. --- diff --git a/bacula/src/cats/sql_cmds.c b/bacula/src/cats/sql_cmds.c index c6edd8bc66..3320be942f 100644 --- a/bacula/src/cats/sql_cmds.c +++ b/bacula/src/cats/sql_cmds.c @@ -646,8 +646,8 @@ const char *create_temp_basefile[5] = { "Name TEXT)", /* Ingres */ "DECLARE GLOBAL TEMPORARY TABLE basefile%lld (" - "Path TEXT NOT NULL," - "Name TEXT NOT NULL)" + "Path VARCHAR(256) NOT NULL," + "Name VARCHAR(256) NOT NULL)" "ON COMMIT PRESERVE ROWS WITH NORECOVERY" };