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
firebird>isql -ch win1251
Use CONNECT or CREATE DATABASE to specify a database
SQL> create database 'inet://c:\temp\blf.fdb' default character set win1251;
SQL> create domain d_int int;
SQL> comment on domain d_int is 'я пишу кириллицей';
SQL> commit;
SQL> SELECT RDB$FIELD_NAME, RDB$SYSTEM_FLAG, RDB$DESCRIPTION FROM RDB$FIELDS where RDB$DESCRIPTION is not null;
Now connect using incompatible with WIN1251 encoding and try to read domain description:
firebird>isql inet://c:\temp\blf.fdb -ch win1250
Database: inet://c:\temp\blf.fdb, User: SYSDBA
SQL> SELECT RDB$FIELD_NAME, RDB$SYSTEM_FLAG, RDB$DESCRIPTION FROM RDB$FIELDS where RDB$DESCRIPTION is not null;
Submitted by: @hvlad
firebird>chcp 1251
Active code page: 1251
firebird>isql -ch win1251
Use CONNECT or CREATE DATABASE to specify a database
SQL> create database 'inet://c:\temp\blf.fdb' default character set win1251;
SQL> create domain d_int int;
SQL> comment on domain d_int is 'я пишу кириллицей';
SQL> commit;
SQL> SELECT RDB$FIELD_NAME, RDB$SYSTEM_FLAG, RDB$DESCRIPTION FROM RDB$FIELDS where RDB$DESCRIPTION is not null;
RDB$FIELD_NAME RDB$SYSTEM_FLAG RDB$DESCRIPTION
=============================== =============== =================
D_INT 0 0:3
RDB$DESCRIPTION:
я пишу кириллицей
SQL> exit;
Now connect using incompatible with WIN1251 encoding and try to read domain description:
firebird>isql inet://c:\temp\blf.fdb -ch win1250
Database: inet://c:\temp\blf.fdb, User: SYSDBA
SQL> SELECT RDB$FIELD_NAME, RDB$SYSTEM_FLAG, RDB$DESCRIPTION FROM RDB$FIELDS where RDB$DESCRIPTION is not null;
isql is crashed at this point
Commits: ef6d542 0fab1a8
The text was updated successfully, but these errors were encountered: