You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This bug was reported privatelly by Claudio some time ago... It's more problematic in 2.5, but not everything is good in previous version.
Steps to reproduce:
1) rename fbintl.conf to fbintl.ttt
2) start the server
3) isql
create database 't.fdb';
create table t (c varchar(10) character set win1252);
Statement failed, SQLCODE = -607
unsuccessful metadata update
-T
-CHARACTER SET WIN1252 is not installed
exit;
4) stop the server
5) rename fbintl.ttt to fbintl.conf
6) start the server
7) isql t.fdb
create table t (c varchar(10) character set win1252);
insert into t values ('a');
Dynamic SQL Error
-SQL error code = -804
-Count of read-write columns does not equal count of values
drop table t;
create table t (c varchar(10) character set win1252);
insert into t values ('a');
-- ok
What's happen:
When the table fails to be created, records in RDB$PAGES was already inserted in system transaction and is not deleted in the cleanup. In V < 2.5, the problem is not visible as RDB$DATABASE.RDB$RELATION_ID is also incremented in system transaction and is not reused.
In 2.5, when looking for a relation id that has already RDB$PAGES entries, it causes no record inserted in RDB$FORMATS.
Can not rename any of FB files and restart server using fbtest framework.
Tried on WI-V2.1.0.17798 without step when 'fbintl.dll' is renamed - no effect.
The text was updated successfully, but these errors were encountered:
Test Details: Can not rename any of FB files and restart server using fbtest framework.
Tried on WI-V2.1.0.17798 without step when 'fbintl.dll' is renamed - no effect.
Submitted by: @asfernandes
This bug was reported privatelly by Claudio some time ago... It's more problematic in 2.5, but not everything is good in previous version.
Steps to reproduce:
1) rename fbintl.conf to fbintl.ttt
2) start the server
3) isql
create database 't.fdb';
create table t (c varchar(10) character set win1252);
Statement failed, SQLCODE = -607
unsuccessful metadata update
-T
-CHARACTER SET WIN1252 is not installed
exit;
4) stop the server
5) rename fbintl.ttt to fbintl.conf
6) start the server
7) isql t.fdb
create table t (c varchar(10) character set win1252);
insert into t values ('a');
Dynamic SQL Error
-SQL error code = -804
-Count of read-write columns does not equal count of values
drop table t;
create table t (c varchar(10) character set win1252);
insert into t values ('a');
-- ok
What's happen:
When the table fails to be created, records in RDB$PAGES was already inserted in system transaction and is not deleted in the cleanup. In V < 2.5, the problem is not visible as RDB$DATABASE.RDB$RELATION_ID is also incremented in system transaction and is not reused.
In 2.5, when looking for a relation id that has already RDB$PAGES entries, it causes no record inserted in RDB$FORMATS.
Commits: 956b6df
====== Test Details ======
Can not rename any of FB files and restart server using fbtest framework.
Tried on WI-V2.1.0.17798 without step when 'fbintl.dll' is renamed - no effect.
The text was updated successfully, but these errors were encountered: