emalloc() with do_alloca()
- Changes to ibase_query() to enable the use of CREATE DATABASE ...
- Added ibase_drop_db()
+ - Added ibase_commit_ret() and ibase_rollback_ret()
+ - Added ibase_name_result()
2001-05-31: Jeremy Bettis <jeremy@deadbeef.com>
- If a blob handle was expected and something else was
received create a blob and add the value to it.
ibase_globals->timestampformat = NULL;
ibase_globals->dateformat = NULL;
ibase_globals->timeformat = NULL;
- ibase_globals->errmsg = NULL;
ibase_globals->num_persistent = 0;
}
}
IBG(timeformat) = DL_STRDUP(IBG(cfg_timeformat));
- if (IBG(errmsg)) {
- DL_FREE(IBG(errmsg));
- }
- IBG(errmsg) = DL_MALLOC(sizeof(char)*MAX_ERRMSG+1);
+ RESET_ERRMSG;
return SUCCESS;
}
}
IBG(timeformat) = NULL;
- if (IBG(errmsg)) {
- DL_FREE(IBG(errmsg));
- }
- IBG(errmsg) = NULL;
-
return SUCCESS;
}