The only correct change was:
- Added SQLSTATE macro closing bug #3961.
#include <ecpg_informix.h>
-/* typedef timestamp dtime_t;
-typedef interval intrvl_t;*/
+typedef timestamp dtime_t;
+typedef interval intrvl_t;
#endif /* ndef _ECPG_DATETIME_H */
#include <ecpg_informix.h>
-/* typedef decimal dec_t; */
+typedef decimal dec_t;
#endif /* ndef _ECPG_DECIMAL_H */
extern int intoasc(interval *, char *);
extern int dtcvfmtasc(char *, char *, timestamp *);
-/* we also define Informix datatypes here */
-typedef timestamp dtime_t;
-typedef interval intrvl_t;
-typedef decimal dec_t;
-
#ifdef __cplusplus
}
#endif
static bool isinformixdefine(void)
{
-/* const char *new = NULL;
+ const char *new = NULL;
if (strcmp(yytext, "dec_t") == 0)
new = "decimal";
yy_scan_string(new);
return true;
}
-*/
+
return false;
}