6
0
mirror of https://github.com/FirebirdSQL/firebird-qa.git synced 2025-01-22 21:43:06 +01:00
firebird-qa/tests/bugs/core_5846_test.py

33 lines
689 B
Python
Raw Normal View History

2021-04-26 20:07:00 +02:00
#coding:utf-8
2022-01-26 21:10:46 +01:00
"""
ID: issue-6107
ISSUE: 6107
TITLE: CREATE VIEW issues "Implementation of text subtype 512 not located"
DESCRIPTION:
JIRA: CORE-5846
FBTEST: bugs.core_5846
2022-01-26 21:10:46 +01:00
"""
2021-04-26 20:07:00 +02:00
2022-01-26 21:10:46 +01:00
import pytest
from firebird.qa import *
2021-04-26 20:07:00 +02:00
2022-01-26 21:10:46 +01:00
db = db_factory(charset='UTF8')
2021-04-26 20:07:00 +02:00
2022-01-26 21:10:46 +01:00
test_script = """
2021-04-26 20:07:00 +02:00
alter character set utf8 set default collation unicode;
create table table1( fld1 char(1) character set none );
-- NB: 'expected_stderr' must remain empty as result of following command.
create view view1 as
select fld1 from table1
2022-01-26 21:10:46 +01:00
;
2021-04-26 20:07:00 +02:00
commit;
2021-12-22 20:23:11 +01:00
"""
2021-04-26 20:07:00 +02:00
2022-01-26 21:10:46 +01:00
act = isql_act('db', test_script)
2021-04-26 20:07:00 +02:00
@pytest.mark.version('>=3.0.4')
2022-01-26 21:10:46 +01:00
def test_1(act: Action):
act.execute()