Skip to content

Regression: ISQL crashes on attempt to extract metadata when domain with reference to user-defined collation presents #8622

Closed
@pavel-zotov

Description

@pavel-zotov

Consider script (found on attempt to re-implement test for CORE-800, but i suspect that problem may exists also for other cases):

set bail on;
shell if exist r:\temp\tmp4test.fdb del r:\temp\tmp4test.fdb;
create database 'localhost:r:\temp\tmp4test.fdb' user 'sysdba' password 'masterkey';
set echo on;

create collation name_coll for utf8 from unicode;
commit;

create domain dm_test varchar(20)
   character set utf8
   collate name_coll ---------------- [ 1 ]
;
commit;

Now try to extract metadata:
C:\FB\60SS\isql -x localhost:r:\temp\tmp4test.fdb -user sysdba -pas masterkey

isql will crach with creating dump.
No relevant messages in firebird.log

If we comment out line marked as "[ 1 ]" (i.e. -- collate name_coll) then no crash occurs.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions