6
0
mirror of https://github.com/FirebirdSQL/firebird-qa.git synced 2025-01-22 13:33:07 +01:00

Added/Updated tests\bugs\core_2922_test.py: added second column to 'order by' clause to force predicable output because of possible changing 'OptimizeForFirstRows' config parameter.

This commit is contained in:
pavel-zotov 2024-08-23 16:10:30 +03:00
parent 0417933393
commit 9f45c1f713

View File

@ -41,24 +41,22 @@ test_script = """
join rdb$types rt on
rd.rdb$depended_on_type = rt.rdb$type
and rt.rdb$type_name containing upper('COLLATION')
order by 1;
order by dep_name, dep_on
;
"""
act = isql_act('db', test_script)
expected_stdout = """
DEP_NAME P1
DEP_ON WIN1250
DEP_ON_TYPE COLLATION
DEP_NAME P1
DEP_ON UTF8
DEP_ON_TYPE COLLATION
DEP_NAME P2
DEP_ON WIN1250
DEP_ON_TYPE COLLATION
DEP_NAME P1
DEP_ON UTF8
DEP_ON_TYPE COLLATION
DEP_NAME P1
DEP_ON WIN1250
DEP_ON_TYPE COLLATION
DEP_NAME P2
DEP_ON WIN1250
DEP_ON_TYPE COLLATION
"""
@pytest.mark.version('>=3.0')