|
Hi Vlad,
thank you for your fast answer. Your right, the query works fine in iSQL. I made some more debugging in IBObjects and found out that the detching of a Dataset of table rdb$relation_fields with an filled rdb$default_source Blob seems to be the problem. The "workaround" with "<> null" doesn't work at all. This Query gives no datasets back and so there was no problem with fetching a dataset... I could make a small sample application with IBObjects where the problem occurs or do you think I should ask Jason Wharton about this? As said before, with Firebird 2.0.3 and the same IBobjects-Version everything worked well... Thanks Patrick Hi Vlad,
now I'm able to reproduce this in isql. Please follow the example: isql create table 'test.fdb' user 'sysdba' password 'masterkey' default character set ISO8859_1; create table test (test integer default 0); quit; gfix test.fdb -mode read_only isql set names ISO8859_1; connect 'test.fdb' user 'sysdba' password 'masterkey'; select * from rdb$relation_fields where rdb$default_source is not null; <error> The problem seems to be an read-only database with declared default values an using a character set at connection time. I hope this helps. Greetings Patrick Since FB 2.1 engine performs transliteraion of blobs between character sets. In this case system blob, stored in UNICODE_FSS, transliterated into connection charset. To do this, temporary blob is created. Engine didn't support temporary blobs creation in read-only databases since read-only databases was introduced in IB6.
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Are you able to reproduce it with isql ?