From e53c5ec5adc9b6defd0bf458775c9badf7946209 Mon Sep 17 00:00:00 2001 From: Marco van Wieringen Date: Fri, 16 Apr 2010 10:39:44 +0200 Subject: [PATCH] For now the Ingres type is not TEXT but VARCHAR(256) so lets define the temporary table that way. --- bacula/src/cats/sql_cmds.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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" }; -- 2.39.5