File tree Expand file tree Collapse file tree 1 file changed +9
-6
lines changed
Expand file tree Collapse file tree 1 file changed +9
-6
lines changed Original file line number Diff line number Diff line change 55ISSUE: 5378
66TITLE: Alter computed field type does not work
77DESCRIPTION:
8- Test creates table with fields of (almost) all possible datatypes.
9- Then we apply "ALTER TABLE ALTER FIELD ..., ALTER FIELD ..." so that every field is changed,
10- either by updating its computed-by value or type (for text fields - also add/remove charset).
11- Expression for ALTER TABLE - see literal "alter_table_ddl", encoded in UTF8.
12- NB: changing character set should NOT be reflected on SQLDA output (at least for current FB builds).
8+ Test creates table with fields of (almost) all possible datatypes.
9+ Then we apply "ALTER TABLE ALTER FIELD ..., ALTER FIELD ..." so that every field is changed,
10+ either by updating its computed-by value or type (for text fields - also add/remove charset).
11+ Expression for ALTER TABLE - see literal "alter_table_ddl", encoded in UTF8.
12+ NB: changing character set should NOT be reflected on SQLDA output (at least for current FB builds).
1313JIRA: CORE-5093
1414FBTEST: bugs.core_5093
15+ NOTES:
16+ [23.01.2024] pzotov
17+ Adjusted output after fixed gh-7924: column 'b_added_charset' character set must be changed to utf8.
1518"""
1619
1720import pytest
149152 : NAME: B_CHANGE_CHARSET ALIAS: B_CHANGE_CHARSET
150153 15: SQLTYPE: 520 BLOB NULLABLE SCALE: 0 SUBTYPE: 0 LEN: 8
151154 : NAME: B_REMOVE_CHARSET ALIAS: B_REMOVE_CHARSET
152- 16: SQLTYPE: 520 BLOB NULLABLE SCALE: 0 SUBTYPE: 1 LEN: 8 CHARSET: 0 NONE
155+ 16: SQLTYPE: 520 BLOB NULLABLE SCALE: 0 SUBTYPE: 1 LEN: 8 CHARSET: 4 UTF8
153156 : NAME: B_ADDED_CHARSET ALIAS: B_ADDED_CHARSET
154157"""
155158
You can’t perform that action at this time.
0 commit comments