Commit b884216b authored by Oleksandr Byelkin's avatar Oleksandr Byelkin

MDEV-28017 Illegal mix of collations (cp1251_general_ci,IMPLICIT),...

MDEV-28017 Illegal mix of collations (cp1251_general_ci,IMPLICIT), (latin1_swedish_ci,COERCIBLE), (latin1_swedish_ci,COERCIBLE) for operation 'between'

Correct test fix is to disable service connection to create views in connection with correct charset settings.
parent e1d31a10
...@@ -178,8 +178,7 @@ drop table t1; ...@@ -178,8 +178,7 @@ drop table t1;
# #
# Check more automatic conversion # Check more automatic conversion
# #
# Enable view protocol after fix MDEV-28017 --disable_service_connection
--disable_view_protocol
set names koi8r; set names koi8r;
create table t1 (c1 char(10) character set cp1251); create table t1 (c1 char(10) character set cp1251);
insert into t1 values (''); insert into t1 values ('');
...@@ -204,7 +203,7 @@ select rpad(c1,3,' ...@@ -204,7 +203,7 @@ select rpad(c1,3,'
#select case c1 when '' then '' when '' then '' else 'c' end from t1; #select case c1 when '' then '' when '' then '' else 'c' end from t1;
#select export_set(5,c1,''), export_set(5,'',c1) from t1; #select export_set(5,c1,''), export_set(5,'',c1) from t1;
drop table t1; drop table t1;
--enable_view_protocol --enable_service_connection
# #
# Bug 20695: problem with field default value's character set # Bug 20695: problem with field default value's character set
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment