Subject Help pleas for ISC ERROR CODE 335544333: "Internal gds software consistency check (can't continue after bug check)"
Author Chuck Belanger
Hello:

Have a bug that I can't figure out and hope someone can lend a hand:

Getting

ISC ERROR CODE 335544333
"Internal gds software consistency check (can't continue after bug
check)"

Using FB 1.5.0.3744 with IBO


for the following

with qryUpdate do
begin
IB_connection := cnIBImport;
Close;
SQL.Clear;
SQL.Add('SELECT rdb$field_name as Field ');
SQL.Add(' FROM rdb$relation_fields ');
SQL.Add('where rdb$relation_name = :TableName');
=> ParamByName('TableName').AsString := TableName;
Prepare;
Open;
...

end;

I call this routine many times in my data update wizard (for each table)
and so far have not had this error ever come up. I use it for creating
the SQL for Select, Insert and Update.

The "ParamByName('TableName').AsString := TableName;" is what causes the
error.

The same code if run as a query against the same table inside IB_Expert
or IB_SQL runs fine, without error.

Thank you for any help to eliminate this bug.

Chuck Belanger