From 6521e61088de2ad16dc757844981986793e38042 Mon Sep 17 00:00:00 2001 From: Marco van Wieringen Date: Tue, 20 Apr 2010 19:52:26 +0200 Subject: [PATCH] Implement IS_NUM for Ingres by using eqsqlda.h IISQ_ values for numeric types supported by Ingres. --- bacula/src/cats/cats.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bacula/src/cats/cats.h b/bacula/src/cats/cats.h index 9e0e5060c3..01176ef9df 100644 --- a/bacula/src/cats/cats.h +++ b/bacula/src/cats/cats.h @@ -538,8 +538,8 @@ extern const char* my_pg_batch_fill_path_query; #define BDB_VERSION 12 -/* TEMP: the following is taken from select OID, typname from pg_type; */ /*SRE: huh? */ -#define IS_NUM(x) ((x) == 20 || (x) == 21 || (x) == 23 || (x) == 700 || (x) == 701) +/* TEMP: the following is taken from $(II_SYSTEM)/ingres/files/eqsqlda.h IISQ_ types */ +#define IS_NUM(x) ((x) == 10 || (x) == 30 || (x) == 31) #define IS_NOT_NULL(x) ((x) == 1) typedef char **INGRES_ROW; -- 2.39.5