Skip to content

Commit 52accbe

Browse files
committed
Added/Updated tests\bugs\core_5093_test.py: Adjusted output after fixed gh-7924
1 parent 5548762 commit 52accbe

File tree

1 file changed

+9
-6
lines changed

1 file changed

+9
-6
lines changed

tests/bugs/core_5093_test.py

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,16 @@
55
ISSUE: 5378
66
TITLE: Alter computed field type does not work
77
DESCRIPTION:
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).
1313
JIRA: CORE-5093
1414
FBTEST: 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

1720
import pytest
@@ -149,7 +152,7 @@
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

0 commit comments

Comments
 (0)