Commit a0cde364 authored by Alexander Barkov's avatar Alexander Barkov

MDEV-33698 tests in the jp suite fail

parent 903b5d6a
...@@ -7,6 +7,7 @@ drop table if exists ` ...@@ -7,6 +7,7 @@ drop table if exists `
drop table if exists `T7`; drop table if exists `T7`;
drop table if exists `T8`; drop table if exists `T8`;
drop table if exists `T9`; drop table if exists `T9`;
SET character_set_collations='ucs2=ucs2_general_ci';
SET NAMES ujis; SET NAMES ujis;
SET character_set_database = ucs2; SET character_set_database = ucs2;
SET collation_connection = ucs2_general_ci; SET collation_connection = ucs2_general_ci;
......
...@@ -7,6 +7,7 @@ drop table if exists `T6`; ...@@ -7,6 +7,7 @@ drop table if exists `T6`;
drop table if exists `T7`; drop table if exists `T7`;
drop table if exists `T8`; drop table if exists `T8`;
drop table if exists `T9`; drop table if exists `T9`;
SET character_set_collations='utf8mb3=utf8mb3_general_ci';
SET NAMES utf8; SET NAMES utf8;
SET character_set_database = utf8; SET character_set_database = utf8;
CREATE TABLE `T1` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = utf8 engine = innodb; CREATE TABLE `T1` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = utf8 engine = innodb;
......
...@@ -7,6 +7,7 @@ drop table if exists ` ...@@ -7,6 +7,7 @@ drop table if exists `
drop table if exists `T7`; drop table if exists `T7`;
drop table if exists `T8`; drop table if exists `T8`;
drop table if exists `T9`; drop table if exists `T9`;
SET character_set_collations='ucs2=ucs2_general_ci';
SET NAMES ujis; SET NAMES ujis;
SET character_set_database = ucs2; SET character_set_database = ucs2;
SET collation_connection = ucs2_general_ci; SET collation_connection = ucs2_general_ci;
......
...@@ -7,6 +7,7 @@ drop table if exists `T6`; ...@@ -7,6 +7,7 @@ drop table if exists `T6`;
drop table if exists `T7`; drop table if exists `T7`;
drop table if exists `T8`; drop table if exists `T8`;
drop table if exists `T9`; drop table if exists `T9`;
SET character_set_collations='utf8mb3=utf8mb3_general_ci';
SET NAMES utf8; SET NAMES utf8;
SET character_set_database = utf8; SET character_set_database = utf8;
CREATE TABLE `T1` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = utf8 engine = innodb; CREATE TABLE `T1` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = utf8 engine = innodb;
......
...@@ -7,6 +7,7 @@ drop table if exists ` ...@@ -7,6 +7,7 @@ drop table if exists `
drop table if exists `T7`; drop table if exists `T7`;
drop table if exists `T8`; drop table if exists `T8`;
drop table if exists `T9`; drop table if exists `T9`;
SET character_set_collations='ucs2=ucs2_general_ci';
SET NAMES ujis; SET NAMES ujis;
SET character_set_database = ucs2; SET character_set_database = ucs2;
SET collation_connection = ucs2_general_ci; SET collation_connection = ucs2_general_ci;
......
...@@ -7,6 +7,7 @@ drop table if exists `T6`; ...@@ -7,6 +7,7 @@ drop table if exists `T6`;
drop table if exists `T7`; drop table if exists `T7`;
drop table if exists `T8`; drop table if exists `T8`;
drop table if exists `T9`; drop table if exists `T9`;
SET character_set_collations='utf8mb3=utf8mb3_general_ci';
SET NAMES utf8; SET NAMES utf8;
SET character_set_database = utf8; SET character_set_database = utf8;
CREATE TABLE `T1` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = utf8 engine = innodb; CREATE TABLE `T1` (`C1` char(8), INDEX(`C1`)) DEFAULT CHARSET = utf8 engine = innodb;
......
...@@ -7,6 +7,7 @@ drop table if exists ` ...@@ -7,6 +7,7 @@ drop table if exists `
drop table if exists `T7`; drop table if exists `T7`;
drop table if exists `T8`; drop table if exists `T8`;
drop table if exists `T9`; drop table if exists `T9`;
SET character_set_collations='ucs2=ucs2_general_ci';
SET NAMES ujis; SET NAMES ujis;
SET character_set_database = ucs2; SET character_set_database = ucs2;
SET collation_connection = ucs2_general_ci; SET collation_connection = ucs2_general_ci;
......
...@@ -7,6 +7,7 @@ drop table if exists `T6`; ...@@ -7,6 +7,7 @@ drop table if exists `T6`;
drop table if exists `T7`; drop table if exists `T7`;
drop table if exists `T8`; drop table if exists `T8`;
drop table if exists `T9`; drop table if exists `T9`;
SET character_set_collations='utf8mb3=utf8mb3_general_ci';
SET NAMES utf8; SET NAMES utf8;
SET character_set_database = utf8; SET character_set_database = utf8;
CREATE TABLE `T1` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = utf8 engine = innodb; CREATE TABLE `T1` (c1 char(20), INDEX(c1)) DEFAULT CHARSET = utf8 engine = innodb;
......
...@@ -7,6 +7,7 @@ drop table if exists ` ...@@ -7,6 +7,7 @@ drop table if exists `
drop table if exists `T7`; drop table if exists `T7`;
drop table if exists `T8`; drop table if exists `T8`;
drop table if exists `T9`; drop table if exists `T9`;
SET character_set_collations='ucs2=ucs2_general_ci';
SET NAMES ujis; SET NAMES ujis;
SET character_set_database = ucs2; SET character_set_database = ucs2;
SET collation_connection = ucs2_general_ci; SET collation_connection = ucs2_general_ci;
......
...@@ -7,6 +7,7 @@ drop table if exists `T6`; ...@@ -7,6 +7,7 @@ drop table if exists `T6`;
drop table if exists `T7`; drop table if exists `T7`;
drop table if exists `T8`; drop table if exists `T8`;
drop table if exists `T9`; drop table if exists `T9`;
SET character_set_collations='utf8mb3=utf8mb3_general_ci';
SET NAMES utf8; SET NAMES utf8;
SET character_set_database = utf8; SET character_set_database = utf8;
CREATE TABLE `T1` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = utf8 engine = innodb; CREATE TABLE `T1` (`C1` char(20), INDEX(`C1`)) DEFAULT CHARSET = utf8 engine = innodb;
......
...@@ -20,6 +20,7 @@ drop table if exists ` ...@@ -20,6 +20,7 @@ drop table if exists `
# Test CONVERT() function with Japanese character in ucs2 encoding # Test CONVERT() function with Japanese character in ucs2 encoding
# #
SET character_set_collations='ucs2=ucs2_general_ci';
SET NAMES ujis; SET NAMES ujis;
SET character_set_database = ucs2; SET character_set_database = ucs2;
SET collation_connection = ucs2_general_ci; SET collation_connection = ucs2_general_ci;
......
...@@ -19,6 +19,7 @@ drop table if exists `T9`; ...@@ -19,6 +19,7 @@ drop table if exists `T9`;
# Test CONVERT() function with Japanese character in utf8 encoding # Test CONVERT() function with Japanese character in utf8 encoding
# #
SET character_set_collations='utf8mb3=utf8mb3_general_ci';
SET NAMES utf8; SET NAMES utf8;
SET character_set_database = utf8; SET character_set_database = utf8;
......
...@@ -17,6 +17,7 @@ drop table if exists ` ...@@ -17,6 +17,7 @@ drop table if exists `
# Test LIKE pattern matching using Japanese characters in ucs2 encoding # Test LIKE pattern matching using Japanese characters in ucs2 encoding
# #
SET character_set_collations='ucs2=ucs2_general_ci';
SET NAMES ujis; SET NAMES ujis;
SET character_set_database = ucs2; SET character_set_database = ucs2;
SET collation_connection = ucs2_general_ci; SET collation_connection = ucs2_general_ci;
......
...@@ -16,6 +16,8 @@ drop table if exists `T9`; ...@@ -16,6 +16,8 @@ drop table if exists `T9`;
# Test LIKE pattern matching using Japanese characters in utf8 encoding # Test LIKE pattern matching using Japanese characters in utf8 encoding
# #
SET character_set_collations='utf8mb3=utf8mb3_general_ci';
SET NAMES utf8; SET NAMES utf8;
SET character_set_database = utf8; SET character_set_database = utf8;
......
...@@ -17,6 +17,7 @@ drop table if exists ` ...@@ -17,6 +17,7 @@ drop table if exists `
# Test LTRIM() function with Japanese characters in ucs2 encoding # Test LTRIM() function with Japanese characters in ucs2 encoding
# #
SET character_set_collations='ucs2=ucs2_general_ci';
SET NAMES ujis; SET NAMES ujis;
SET character_set_database = ucs2; SET character_set_database = ucs2;
SET collation_connection = ucs2_general_ci; SET collation_connection = ucs2_general_ci;
......
...@@ -16,6 +16,7 @@ drop table if exists `T9`; ...@@ -16,6 +16,7 @@ drop table if exists `T9`;
# Test LTRIM() function with Japanese characters in utf8 encoding # Test LTRIM() function with Japanese characters in utf8 encoding
# #
SET character_set_collations='utf8mb3=utf8mb3_general_ci';
SET NAMES utf8; SET NAMES utf8;
SET character_set_database = utf8; SET character_set_database = utf8;
......
...@@ -17,6 +17,7 @@ drop table if exists ` ...@@ -17,6 +17,7 @@ drop table if exists `
# Test Displaying Japanese charact in ucs2 encoding # Test Displaying Japanese charact in ucs2 encoding
# #
SET character_set_collations='ucs2=ucs2_general_ci';
SET NAMES ujis; SET NAMES ujis;
SET character_set_database = ucs2; SET character_set_database = ucs2;
SET collation_connection = ucs2_general_ci; SET collation_connection = ucs2_general_ci;
......
...@@ -16,6 +16,7 @@ drop table if exists `T9`; ...@@ -16,6 +16,7 @@ drop table if exists `T9`;
# Test Displaying Japanese charact in utf8 encoding # Test Displaying Japanese charact in utf8 encoding
# #
SET character_set_collations='utf8mb3=utf8mb3_general_ci';
SET NAMES utf8; SET NAMES utf8;
SET character_set_database = utf8; SET character_set_database = utf8;
......
...@@ -17,6 +17,7 @@ drop table if exists ` ...@@ -17,6 +17,7 @@ drop table if exists `
# Test Displaying Japanese charact using WHERE condtion in ucs2 encoding # Test Displaying Japanese charact using WHERE condtion in ucs2 encoding
# #
SET character_set_collations='ucs2=ucs2_general_ci';
SET NAMES ujis; SET NAMES ujis;
SET character_set_database = ucs2; SET character_set_database = ucs2;
SET collation_connection = ucs2_general_ci; SET collation_connection = ucs2_general_ci;
......
...@@ -16,6 +16,7 @@ drop table if exists `T9`; ...@@ -16,6 +16,7 @@ drop table if exists `T9`;
# Test Displaying Japanese charact using WHERE condition in utf8 encoding # Test Displaying Japanese charact using WHERE condition in utf8 encoding
# #
SET character_set_collations='utf8mb3=utf8mb3_general_ci';
SET NAMES utf8; SET NAMES utf8;
SET character_set_database = utf8; SET character_set_database = utf8;
......
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