Closed asfernandes closed 2 months ago
I can reproduce this problem using a dialect 1 database with column name using a keyword. It may happens if by any reason the batch creation fails.
tdgbl->RESTORE_format is not initialized and in prepareRequest it understand the engine as an old one not supporting blr_parameter2.
tdgbl->RESTORE_format
prepareRequest
blr_parameter2
Test case:
isql create database 'x.fdb'; create table t ("TABLE" integer); insert into t values (null); insert into t values (null); commit;
gfix -sql_dialect 1 x.fdb gbak -b x.fdb x.fbk gbak -v -c -rep x.fbk localhost:`pwd`/xb.fdb
isql xb.fdb -- NULLs are transformed to 0 select * from t;
I can reproduce this problem using a dialect 1 database with column name using a keyword. It may happens if by any reason the batch creation fails.
tdgbl->RESTORE_format
is not initialized and inprepareRequest
it understand the engine as an old one not supportingblr_parameter2
.Test case: