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-7.0.0~1936 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e53c5ec5adc9b6defd0bf458775c9badf7946209;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" };