From: Marco van Wieringen Date: Tue, 20 Apr 2010 17:52:26 +0000 (+0200) Subject: Implement IS_NUM for Ingres by using eqsqlda.h IISQ_ values for numeric types support... X-Git-Tag: Release-5.2.1~1438 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=526d640aa80fb78a2ad90e3006465a036e14088b;p=bacula%2Fbacula Implement IS_NUM for Ingres by using eqsqlda.h IISQ_ values for numeric types supported by Ingres. --- 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;