- Synced keyword.c.
- Set library version to 3.1.0.
- Set ecpg version to 2.7.0.
+
+Mon May 15 10:51:31 CEST 2000
+
+ - Added patch by SAKAIDA Masaaki <sakaida@psn.co.jp> to fix segfault.
+ - Set ecpg version to 2.7.1.
+
+
ECPGlog("get_data line %d: RESULT: %s\n", lineno, pval ? pval : "");
- /* Now the pval is a pointer to the value. */
- /* let's check is it really is an array if it should be */
+ /* pval is a pointer to the value */
+ /* let's check is it really is an array if it should be one */
if (isarray)
{
if (*pval != '{')
{
- ECPGlog("get_data data entry does not look like an array in line %d\n", lineno);
+ ECPGlog("get_data: data entry does not look like an array in line %d\n", lineno);
ECPGraise(lineno, ECPG_DATA_NOT_ARRAY, NULL);
return (false);
}
void
ECPGdump_a_type(FILE *o, const char *name, struct ECPGtype * typ, const char *ind_name, struct ECPGtype * ind_typ, const char *prefix, const char *ind_prefix)
{
+ if (ind_typ == NULL)
+ {
+ ind_typ = &ecpg_no_indicator;
+ ind_name = "no_indicator";
+ }
+
switch (typ->typ)
{
case ECPGt_array: