mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
7ab1c8dc93
Bug#28563 Test suite "jp" fails completely - The main goal of this fix is to make the "jp" suite runnable in general and to make it more robust for use in pushbuild under build team conditions. - It was decided to fix the remaining heavy issues within the architecture of this test later (-> WL 4327 Redesign the 'jp' testsuite for build team testing conditions) Only the test jp_trim_sjis got some significant improvements of its architecture (Just as proof of concept for the other tests). - Tests suffering from Bug 36597 Testsuite "jp": Suspicious results for some tests (unexpected result sets) were disabled - *.opt files were used to avoid differences on OS (Windows) because of case sensitive tablenames within the tests mysql-test/suite/jp/r/jp_alter_sjis.result: Updated results mysql-test/suite/jp/r/jp_alter_ucs2.result: Updated results mysql-test/suite/jp/r/jp_alter_ujis.result: Updated results mysql-test/suite/jp/r/jp_alter_utf8.result: Updated results mysql-test/suite/jp/r/jp_charlength_sjis.result: Updated results mysql-test/suite/jp/r/jp_charlength_ucs2.result: Updated results mysql-test/suite/jp/r/jp_charlength_ujis.result: Updated results mysql-test/suite/jp/r/jp_charlength_utf8.result: Updated results mysql-test/suite/jp/r/jp_charset_sjis.result: Updated results mysql-test/suite/jp/r/jp_charset_ucs2.result: Updated results mysql-test/suite/jp/r/jp_charset_ujis.result: Updated results mysql-test/suite/jp/r/jp_charset_utf8.result: Updated results mysql-test/suite/jp/r/jp_convert_sjis.result: Updated results mysql-test/suite/jp/r/jp_convert_ucs2.result: Updated results mysql-test/suite/jp/r/jp_convert_ujis.result: Updated results mysql-test/suite/jp/r/jp_convert_utf8.result: Updated results mysql-test/suite/jp/r/jp_create_db_sjis.result: Updated results mysql-test/suite/jp/r/jp_create_db_ucs2.result: Updated results mysql-test/suite/jp/r/jp_create_db_ujis.result: Updated results mysql-test/suite/jp/r/jp_create_db_utf8.result: Updated results mysql-test/suite/jp/r/jp_create_tbl_sjis.result: Updated results mysql-test/suite/jp/r/jp_create_tbl_ucs2.result: Updated results mysql-test/suite/jp/r/jp_create_tbl_ujis.result: Updated results mysql-test/suite/jp/r/jp_create_tbl_utf8.result: Updated results mysql-test/suite/jp/r/jp_enum_sjis.result: Updated results mysql-test/suite/jp/r/jp_enum_ucs2.result: Updated results mysql-test/suite/jp/r/jp_enum_ujis.result: Updated results mysql-test/suite/jp/r/jp_enum_utf8.result: Updated results mysql-test/suite/jp/r/jp_insert_sjis.result: Updated results mysql-test/suite/jp/r/jp_insert_ucs2.result: Updated results mysql-test/suite/jp/r/jp_insert_ujis.result: Updated results mysql-test/suite/jp/r/jp_insert_utf8.result: Updated results mysql-test/suite/jp/r/jp_instr_sjis.result: Updated results mysql-test/suite/jp/r/jp_instr_ucs2.result: Updated results mysql-test/suite/jp/r/jp_instr_ujis.result: Updated results mysql-test/suite/jp/r/jp_instr_utf8.result: Updated results mysql-test/suite/jp/r/jp_join_sjis.result: Updated results mysql-test/suite/jp/r/jp_join_ucs2.result: Updated results mysql-test/suite/jp/r/jp_join_ujis.result: Updated results mysql-test/suite/jp/r/jp_join_utf8.result: Updated results mysql-test/suite/jp/r/jp_left_sjis.result: Updated results mysql-test/suite/jp/r/jp_left_ucs2.result: Updated results mysql-test/suite/jp/r/jp_left_ujis.result: Updated results mysql-test/suite/jp/r/jp_left_utf8.result: Updated results mysql-test/suite/jp/r/jp_length_sjis.result: Updated results mysql-test/suite/jp/r/jp_length_ucs2.result: Updated results mysql-test/suite/jp/r/jp_length_ujis.result: Updated results mysql-test/suite/jp/r/jp_length_utf8.result: Updated results mysql-test/suite/jp/r/jp_like_sjis.result: Updated results mysql-test/suite/jp/r/jp_like_ucs2.result: Updated results mysql-test/suite/jp/r/jp_like_ujis.result: Updated results mysql-test/suite/jp/r/jp_like_utf8.result: Updated results mysql-test/suite/jp/r/jp_locate_sjis.result: Updated results mysql-test/suite/jp/r/jp_locate_ucs2.result: Updated results mysql-test/suite/jp/r/jp_locate_ujis.result: Updated results mysql-test/suite/jp/r/jp_locate_utf8.result: Updated results mysql-test/suite/jp/r/jp_lpad_sjis.result: Updated results mysql-test/suite/jp/r/jp_lpad_ucs2.result: Updated results mysql-test/suite/jp/r/jp_lpad_ujis.result: Updated results mysql-test/suite/jp/r/jp_lpad_utf8.result: Updated results mysql-test/suite/jp/r/jp_ltrim_sjis.result: Updated results mysql-test/suite/jp/r/jp_ltrim_ucs2.result: Updated results mysql-test/suite/jp/r/jp_ltrim_ujis.result: Updated results mysql-test/suite/jp/r/jp_ltrim_utf8.result: Updated results mysql-test/suite/jp/r/jp_ps_sjis.result: Updated results mysql-test/suite/jp/r/jp_ps_ujis.result: Updated results mysql-test/suite/jp/r/jp_replace_sjis.result: Updated results mysql-test/suite/jp/r/jp_replace_ucs2.result: Updated results mysql-test/suite/jp/r/jp_replace_ujis.result: Updated results mysql-test/suite/jp/r/jp_replace_utf8.result: Updated results mysql-test/suite/jp/r/jp_reverse_sjis.result: Updated results mysql-test/suite/jp/r/jp_reverse_ucs2.result: Updated results mysql-test/suite/jp/r/jp_reverse_ujis.result: Updated results mysql-test/suite/jp/r/jp_reverse_utf8.result: Updated results mysql-test/suite/jp/r/jp_right_sjis.result: Updated results mysql-test/suite/jp/r/jp_right_ucs2.result: Updated results mysql-test/suite/jp/r/jp_right_ujis.result: Updated results mysql-test/suite/jp/r/jp_right_utf8.result: Updated results mysql-test/suite/jp/r/jp_rpad_sjis.result: Updated results mysql-test/suite/jp/r/jp_rpad_ucs2.result: Updated results mysql-test/suite/jp/r/jp_rpad_ujis.result: Updated results mysql-test/suite/jp/r/jp_rpad_utf8.result: Updated results mysql-test/suite/jp/r/jp_rtrim_sjis.result: Updated results mysql-test/suite/jp/r/jp_rtrim_ucs2.result: Updated results mysql-test/suite/jp/r/jp_rtrim_ujis.result: Updated results mysql-test/suite/jp/r/jp_rtrim_utf8.result: Updated results mysql-test/suite/jp/r/jp_select_sjis.result: Updated results mysql-test/suite/jp/r/jp_select_ucs2.result: Updated results mysql-test/suite/jp/r/jp_select_ujis.result: Updated results mysql-test/suite/jp/r/jp_select_utf8.result: Updated results mysql-test/suite/jp/r/jp_subquery_sjis.result: Updated results mysql-test/suite/jp/r/jp_subquery_ucs2.result: Updated results mysql-test/suite/jp/r/jp_subquery_ujis.result: Updated results mysql-test/suite/jp/r/jp_subquery_utf8.result: Updated results mysql-test/suite/jp/r/jp_substring_sjis.result: Updated results mysql-test/suite/jp/r/jp_substring_ucs2.result: Updated results mysql-test/suite/jp/r/jp_substring_ujis.result: Updated results mysql-test/suite/jp/r/jp_substring_utf8.result: Updated results mysql-test/suite/jp/r/jp_trim_sjis.result: Updated results mysql-test/suite/jp/r/jp_trim_ucs2.result: Updated results mysql-test/suite/jp/r/jp_trim_ujis.result: Updated results mysql-test/suite/jp/r/jp_trim_utf8.result: Updated results mysql-test/suite/jp/r/jp_union_ujis.result: Updated results mysql-test/suite/jp/r/jp_update_sjis.result: Updated results mysql-test/suite/jp/r/jp_update_ucs2.result: Updated results mysql-test/suite/jp/r/jp_update_ujis.result: Updated results mysql-test/suite/jp/r/jp_update_utf8.result: Updated results mysql-test/suite/jp/r/jp_where_sjis.result: Updated results mysql-test/suite/jp/r/jp_where_ucs2.result: Updated results mysql-test/suite/jp/r/jp_where_ujis.result: Updated results mysql-test/suite/jp/r/jp_where_utf8.result: Updated results mysql-test/suite/jp/t/jp_alter_sjis.test: Updated results mysql-test/suite/jp/t/jp_alter_ucs2.test: Updated results mysql-test/suite/jp/t/jp_alter_ujis.test: Updated results mysql-test/suite/jp/t/jp_alter_utf8.test: Updated results mysql-test/suite/jp/t/jp_charlength_sjis.test: Updated results mysql-test/suite/jp/t/jp_charlength_ucs2.test: Updated results mysql-test/suite/jp/t/jp_charlength_ujis.test: Updated results mysql-test/suite/jp/t/jp_charlength_utf8.test: Updated results mysql-test/suite/jp/t/jp_charset_sjis.test: Updated results mysql-test/suite/jp/t/jp_charset_ucs2.test: Updated results mysql-test/suite/jp/t/jp_charset_ujis.test: Updated results mysql-test/suite/jp/t/jp_charset_utf8.test: Updated results mysql-test/suite/jp/t/jp_convert_sjis.test: Updated results mysql-test/suite/jp/t/jp_convert_ucs2.test: Updated results mysql-test/suite/jp/t/jp_convert_ujis.test: Updated results mysql-test/suite/jp/t/jp_convert_utf8.test: Updated results mysql-test/suite/jp/t/jp_create_db_sjis.test: Updated results mysql-test/suite/jp/t/jp_create_db_utf8.test: Updated results mysql-test/suite/jp/t/jp_create_tbl_sjis.test: Updated results mysql-test/suite/jp/t/jp_create_tbl_ucs2.test: Updated results mysql-test/suite/jp/t/jp_create_tbl_ujis.test: Updated results mysql-test/suite/jp/t/jp_create_tbl_utf8.test: Updated results mysql-test/suite/jp/t/jp_enum_sjis.test: Updated results mysql-test/suite/jp/t/jp_enum_ucs2.test: Updated results mysql-test/suite/jp/t/jp_enum_ujis.test: Updated results mysql-test/suite/jp/t/jp_enum_utf8.test: Updated results mysql-test/suite/jp/t/jp_insert_sjis.test: Updated results mysql-test/suite/jp/t/jp_insert_ucs2.test: Updated results mysql-test/suite/jp/t/jp_insert_ujis.test: Updated results mysql-test/suite/jp/t/jp_insert_utf8.test: Updated results mysql-test/suite/jp/t/jp_instr_sjis.test: Updated results mysql-test/suite/jp/t/jp_instr_ucs2.test: Updated results mysql-test/suite/jp/t/jp_instr_ujis.test: Updated results mysql-test/suite/jp/t/jp_instr_utf8.test: Updated results mysql-test/suite/jp/t/jp_join_sjis.test: Updated results mysql-test/suite/jp/t/jp_join_ucs2.test: Updated results mysql-test/suite/jp/t/jp_join_ujis.test: Updated results mysql-test/suite/jp/t/jp_join_utf8.test: Updated results mysql-test/suite/jp/t/jp_left_sjis.test: Updated results mysql-test/suite/jp/t/jp_left_ucs2.test: Updated results mysql-test/suite/jp/t/jp_left_ujis.test: Updated results mysql-test/suite/jp/t/jp_left_utf8.test: Updated results mysql-test/suite/jp/t/jp_length_sjis.test: Updated results mysql-test/suite/jp/t/jp_length_ucs2.test: Updated results mysql-test/suite/jp/t/jp_length_ujis.test: Updated results mysql-test/suite/jp/t/jp_length_utf8.test: Updated results mysql-test/suite/jp/t/jp_like_sjis.test: Updated results mysql-test/suite/jp/t/jp_like_ucs2.test: Updated results mysql-test/suite/jp/t/jp_like_ujis.test: Updated results mysql-test/suite/jp/t/jp_like_utf8.test: Updated results mysql-test/suite/jp/t/jp_locate_sjis.test: Updated results mysql-test/suite/jp/t/jp_locate_ucs2.test: Updated results mysql-test/suite/jp/t/jp_locate_ujis.test: Updated results mysql-test/suite/jp/t/jp_locate_utf8.test: Updated results mysql-test/suite/jp/t/jp_lpad_sjis.test: Updated results mysql-test/suite/jp/t/jp_lpad_ucs2.test: Updated results mysql-test/suite/jp/t/jp_lpad_ujis.test: Updated results mysql-test/suite/jp/t/jp_lpad_utf8.test: Updated results mysql-test/suite/jp/t/jp_ltrim_sjis.test: Updated results mysql-test/suite/jp/t/jp_ltrim_ucs2.test: Updated results mysql-test/suite/jp/t/jp_ltrim_ujis.test: Updated results mysql-test/suite/jp/t/jp_ltrim_utf8.test: Updated results mysql-test/suite/jp/t/jp_ps_sjis.test: Updated results mysql-test/suite/jp/t/jp_ps_ujis.test: Updated results mysql-test/suite/jp/t/jp_replace_sjis.test: Updated results mysql-test/suite/jp/t/jp_replace_ucs2.test: Updated results mysql-test/suite/jp/t/jp_replace_ujis.test: Updated results mysql-test/suite/jp/t/jp_replace_utf8.test: Updated results mysql-test/suite/jp/t/jp_reverse_sjis.test: Updated results mysql-test/suite/jp/t/jp_reverse_ucs2.test: Updated results mysql-test/suite/jp/t/jp_reverse_ujis.test: Updated results mysql-test/suite/jp/t/jp_reverse_utf8.test: Updated results mysql-test/suite/jp/t/jp_right_sjis.test: Updated results mysql-test/suite/jp/t/jp_right_ucs2.test: Updated results mysql-test/suite/jp/t/jp_right_ujis.test: Updated results mysql-test/suite/jp/t/jp_right_utf8.test: Updated results mysql-test/suite/jp/t/jp_rpad_sjis.test: Updated results mysql-test/suite/jp/t/jp_rpad_ucs2.test: Updated results mysql-test/suite/jp/t/jp_rpad_ujis.test: Updated results mysql-test/suite/jp/t/jp_rpad_utf8.test: Updated results mysql-test/suite/jp/t/jp_rtrim_sjis.test: Updated results mysql-test/suite/jp/t/jp_rtrim_ucs2.test: Updated results mysql-test/suite/jp/t/jp_rtrim_ujis.test: Updated results mysql-test/suite/jp/t/jp_rtrim_utf8.test: Updated results mysql-test/suite/jp/t/jp_select_sjis.test: Updated results mysql-test/suite/jp/t/jp_select_ucs2.test: Updated results mysql-test/suite/jp/t/jp_select_ujis.test: Updated results mysql-test/suite/jp/t/jp_select_utf8.test: Updated results mysql-test/suite/jp/t/jp_subquery_sjis.test: Updated results mysql-test/suite/jp/t/jp_subquery_ucs2.test: Updated results mysql-test/suite/jp/t/jp_subquery_ujis.test: Updated results mysql-test/suite/jp/t/jp_subquery_utf8.test: Updated results mysql-test/suite/jp/t/jp_substring_sjis.test: Updated results mysql-test/suite/jp/t/jp_substring_ucs2.test: Updated results mysql-test/suite/jp/t/jp_substring_ujis.test: Updated results mysql-test/suite/jp/t/jp_substring_utf8.test: Updated results mysql-test/suite/jp/t/jp_trim_sjis.test: Updated results mysql-test/suite/jp/t/jp_trim_ucs2.test: Updated results mysql-test/suite/jp/t/jp_trim_ujis.test: Updated results mysql-test/suite/jp/t/jp_trim_utf8.test: Updated results mysql-test/suite/jp/t/jp_union_ujis.test: Updated results mysql-test/suite/jp/t/jp_update_sjis.test: Updated results mysql-test/suite/jp/t/jp_update_ucs2.test: Updated results mysql-test/suite/jp/t/jp_update_ujis.test: Updated results mysql-test/suite/jp/t/jp_update_utf8.test: Updated results mysql-test/suite/jp/t/jp_where_sjis.test: Updated results mysql-test/suite/jp/t/jp_where_ucs2.test: Updated results mysql-test/suite/jp/t/jp_where_ujis.test: Updated results mysql-test/suite/jp/t/jp_where_utf8.test: Updated results mysql-test/suite/jp/include/trim_sjis.inc: Auxiliary script mysql-test/suite/jp/t/disabled.def: Disable tests which suffer to an unacceptable extend from bug 36597 Testsuite "jp": Suspicious results for some tests
471 lines
9.1 KiB
Text
471 lines
9.1 KiB
Text
drop table if exists `T1`;
|
||
drop table if exists `T2`;
|
||
drop table if exists `T3`;
|
||
drop table if exists `T4`;
|
||
drop table if exists `T5`;
|
||
drop table if exists `T6`;
|
||
drop table if exists `T7`;
|
||
drop table if exists `T8`;
|
||
drop table if exists `T9`;
|
||
SET NAMES ujis;
|
||
SET character_set_database = ucs2;
|
||
SET collation_connection = ucs2_general_ci;
|
||
CREATE TABLE `T1` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = innodb;
|
||
CREATE TABLE `T2` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = innodb;
|
||
CREATE TABLE `T3` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = innodb;
|
||
CREATE TABLE `T4` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
|
||
CREATE TABLE `T5` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
|
||
CREATE TABLE `T6` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = myisam;
|
||
CREATE TABLE `T7` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
|
||
CREATE TABLE `T8` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
|
||
CREATE TABLE `T9` (`C1` char(5), INDEX(`C1`)) DEFAULT CHARSET = ucs2 engine = MEMORY;
|
||
INSERT INTO `T1` VALUES ('アイウエオ'),('アイウエ'),('アイウ'),('アイ'),('ア'),('');
|
||
INSERT INTO `T2` VALUES ('あいうえお'),('あいうえ'),('あいう'),('あい'),('あ'),('');
|
||
INSERT INTO `T3` VALUES ('龔龖龗龞龡'),('龔龖龗龞'),('龔龖龗'),('龔龖'),('龔'),('');
|
||
INSERT INTO `T4` VALUES ('アイウエオ'),('アイウエ'),('アイウ'),('アイ'),('ア'),('');
|
||
INSERT INTO `T5` VALUES ('あいうえお'),('あいうえ'),('あいう'),('あい'),('あ'),('');
|
||
INSERT INTO `T6` VALUES ('龔龖龗龞龡'),('龔龖龗龞'),('龔龖龗'),('龔龖'),('龔'),('');
|
||
INSERT INTO `T7` VALUES ('アイウエオ'),('アイウエ'),('アイウ'),('アイ'),('ア'),('');
|
||
INSERT INTO `T8` VALUES ('あいうえお'),('あいうえ'),('あいう'),('あい'),('あ'),('');
|
||
INSERT INTO `T9` VALUES ('龔龖龗龞龡'),('龔龖龗龞'),('龔龖龗'),('龔龖'),('龔'),('');
|
||
SELECT `C1`, LEFT(`C1`,0) FROM `T1`;
|
||
C1 LEFT(`C1`,0)
|
||
|
||
ア
|
||
アイ
|
||
アイウ
|
||
アイウエ
|
||
アイウエオ
|
||
SELECT `C1`, LEFT(`C1`,1) FROM `T1`;
|
||
C1 LEFT(`C1`,1)
|
||
|
||
ア ア
|
||
アイ ア
|
||
アイウ ア
|
||
アイウエ ア
|
||
アイウエオ ア
|
||
SELECT `C1`, LEFT(`C1`,2) FROM `T1`;
|
||
C1 LEFT(`C1`,2)
|
||
|
||
ア ア
|
||
アイ アイ
|
||
アイウ アイ
|
||
アイウエ アイ
|
||
アイウエオ アイ
|
||
SELECT `C1`, LEFT(`C1`,3) FROM `T1`;
|
||
C1 LEFT(`C1`,3)
|
||
|
||
ア ア
|
||
アイ アイ
|
||
アイウ アイウ
|
||
アイウエ アイウ
|
||
アイウエオ アイウ
|
||
SELECT `C1`, LEFT(`C1`,4) FROM `T1`;
|
||
C1 LEFT(`C1`,4)
|
||
|
||
ア ア
|
||
アイ アイ
|
||
アイウ アイウ
|
||
アイウエ アイウエ
|
||
アイウエオ アイウエ
|
||
SELECT `C1`, LEFT(`C1`,5) FROM `T1`;
|
||
C1 LEFT(`C1`,5)
|
||
|
||
ア ア
|
||
アイ アイ
|
||
アイウ アイウ
|
||
アイウエ アイウエ
|
||
アイウエオ アイウエオ
|
||
SELECT `C1`, LEFT(`C1`,0) FROM `T2`;
|
||
C1 LEFT(`C1`,0)
|
||
|
||
あ
|
||
あい
|
||
あいう
|
||
あいうえ
|
||
あいうえお
|
||
SELECT `C1`, LEFT(`C1`,1) FROM `T2`;
|
||
C1 LEFT(`C1`,1)
|
||
|
||
あ あ
|
||
あい あ
|
||
あいう あ
|
||
あいうえ あ
|
||
あいうえお あ
|
||
SELECT `C1`, LEFT(`C1`,2) FROM `T2`;
|
||
C1 LEFT(`C1`,2)
|
||
|
||
あ あ
|
||
あい あい
|
||
あいう あい
|
||
あいうえ あい
|
||
あいうえお あい
|
||
SELECT `C1`, LEFT(`C1`,3) FROM `T2`;
|
||
C1 LEFT(`C1`,3)
|
||
|
||
あ あ
|
||
あい あい
|
||
あいう あいう
|
||
あいうえ あいう
|
||
あいうえお あいう
|
||
SELECT `C1`, LEFT(`C1`,4) FROM `T2`;
|
||
C1 LEFT(`C1`,4)
|
||
|
||
あ あ
|
||
あい あい
|
||
あいう あいう
|
||
あいうえ あいうえ
|
||
あいうえお あいうえ
|
||
SELECT `C1`, LEFT(`C1`,5) FROM `T2`;
|
||
C1 LEFT(`C1`,5)
|
||
|
||
あ あ
|
||
あい あい
|
||
あいう あいう
|
||
あいうえ あいうえ
|
||
あいうえお あいうえお
|
||
SELECT `C1`, LEFT(`C1`,0) FROM `T3`;
|
||
C1 LEFT(`C1`,0)
|
||
|
||
龔
|
||
龔龖
|
||
龔龖龗
|
||
龔龖龗龞
|
||
龔龖龗龞龡
|
||
SELECT `C1`, LEFT(`C1`,1) FROM `T3`;
|
||
C1 LEFT(`C1`,1)
|
||
|
||
龔 龔
|
||
龔龖 龔
|
||
龔龖龗 龔
|
||
龔龖龗龞 龔
|
||
龔龖龗龞龡 龔
|
||
SELECT `C1`, LEFT(`C1`,2) FROM `T3`;
|
||
C1 LEFT(`C1`,2)
|
||
|
||
龔 龔
|
||
龔龖 龔龖
|
||
龔龖龗 龔龖
|
||
龔龖龗龞 龔龖
|
||
龔龖龗龞龡 龔龖
|
||
SELECT `C1`, LEFT(`C1`,3) FROM `T3`;
|
||
C1 LEFT(`C1`,3)
|
||
|
||
龔 龔
|
||
龔龖 龔龖
|
||
龔龖龗 龔龖龗
|
||
龔龖龗龞 龔龖龗
|
||
龔龖龗龞龡 龔龖龗
|
||
SELECT `C1`, LEFT(`C1`,4) FROM `T3`;
|
||
C1 LEFT(`C1`,4)
|
||
|
||
龔 龔
|
||
龔龖 龔龖
|
||
龔龖龗 龔龖龗
|
||
龔龖龗龞 龔龖龗龞
|
||
龔龖龗龞龡 龔龖龗龞
|
||
SELECT `C1`, LEFT(`C1`,5) FROM `T3`;
|
||
C1 LEFT(`C1`,5)
|
||
|
||
龔 龔
|
||
龔龖 龔龖
|
||
龔龖龗 龔龖龗
|
||
龔龖龗龞 龔龖龗龞
|
||
龔龖龗龞龡 龔龖龗龞龡
|
||
SELECT `C1`, LEFT(`C1`,0) FROM `T4`;
|
||
C1 LEFT(`C1`,0)
|
||
|
||
ア
|
||
アイ
|
||
アイウ
|
||
アイウエ
|
||
アイウエオ
|
||
SELECT `C1`, LEFT(`C1`,1) FROM `T4`;
|
||
C1 LEFT(`C1`,1)
|
||
|
||
ア ア
|
||
アイ ア
|
||
アイウ ア
|
||
アイウエ ア
|
||
アイウエオ ア
|
||
SELECT `C1`, LEFT(`C1`,2) FROM `T4`;
|
||
C1 LEFT(`C1`,2)
|
||
|
||
ア ア
|
||
アイ アイ
|
||
アイウ アイ
|
||
アイウエ アイ
|
||
アイウエオ アイ
|
||
SELECT `C1`, LEFT(`C1`,3) FROM `T4`;
|
||
C1 LEFT(`C1`,3)
|
||
|
||
ア ア
|
||
アイ アイ
|
||
アイウ アイウ
|
||
アイウエ アイウ
|
||
アイウエオ アイウ
|
||
SELECT `C1`, LEFT(`C1`,4) FROM `T4`;
|
||
C1 LEFT(`C1`,4)
|
||
|
||
ア ア
|
||
アイ アイ
|
||
アイウ アイウ
|
||
アイウエ アイウエ
|
||
アイウエオ アイウエ
|
||
SELECT `C1`, LEFT(`C1`,5) FROM `T4`;
|
||
C1 LEFT(`C1`,5)
|
||
|
||
ア ア
|
||
アイ アイ
|
||
アイウ アイウ
|
||
アイウエ アイウエ
|
||
アイウエオ アイウエオ
|
||
SELECT `C1`, LEFT(`C1`,0) FROM `T5`;
|
||
C1 LEFT(`C1`,0)
|
||
|
||
あ
|
||
あい
|
||
あいう
|
||
あいうえ
|
||
あいうえお
|
||
SELECT `C1`, LEFT(`C1`,1) FROM `T5`;
|
||
C1 LEFT(`C1`,1)
|
||
|
||
あ あ
|
||
あい あ
|
||
あいう あ
|
||
あいうえ あ
|
||
あいうえお あ
|
||
SELECT `C1`, LEFT(`C1`,2) FROM `T5`;
|
||
C1 LEFT(`C1`,2)
|
||
|
||
あ あ
|
||
あい あい
|
||
あいう あい
|
||
あいうえ あい
|
||
あいうえお あい
|
||
SELECT `C1`, LEFT(`C1`,3) FROM `T5`;
|
||
C1 LEFT(`C1`,3)
|
||
|
||
あ あ
|
||
あい あい
|
||
あいう あいう
|
||
あいうえ あいう
|
||
あいうえお あいう
|
||
SELECT `C1`, LEFT(`C1`,4) FROM `T5`;
|
||
C1 LEFT(`C1`,4)
|
||
|
||
あ あ
|
||
あい あい
|
||
あいう あいう
|
||
あいうえ あいうえ
|
||
あいうえお あいうえ
|
||
SELECT `C1`, LEFT(`C1`,5) FROM `T5`;
|
||
C1 LEFT(`C1`,5)
|
||
|
||
あ あ
|
||
あい あい
|
||
あいう あいう
|
||
あいうえ あいうえ
|
||
あいうえお あいうえお
|
||
SELECT `C1`, LEFT(`C1`,0) FROM `T6`;
|
||
C1 LEFT(`C1`,0)
|
||
|
||
龔
|
||
龔龖
|
||
龔龖龗
|
||
龔龖龗龞
|
||
龔龖龗龞龡
|
||
SELECT `C1`, LEFT(`C1`,1) FROM `T6`;
|
||
C1 LEFT(`C1`,1)
|
||
|
||
龔 龔
|
||
龔龖 龔
|
||
龔龖龗 龔
|
||
龔龖龗龞 龔
|
||
龔龖龗龞龡 龔
|
||
SELECT `C1`, LEFT(`C1`,2) FROM `T6`;
|
||
C1 LEFT(`C1`,2)
|
||
|
||
龔 龔
|
||
龔龖 龔龖
|
||
龔龖龗 龔龖
|
||
龔龖龗龞 龔龖
|
||
龔龖龗龞龡 龔龖
|
||
SELECT `C1`, LEFT(`C1`,3) FROM `T6`;
|
||
C1 LEFT(`C1`,3)
|
||
|
||
龔 龔
|
||
龔龖 龔龖
|
||
龔龖龗 龔龖龗
|
||
龔龖龗龞 龔龖龗
|
||
龔龖龗龞龡 龔龖龗
|
||
SELECT `C1`, LEFT(`C1`,4) FROM `T6`;
|
||
C1 LEFT(`C1`,4)
|
||
|
||
龔 龔
|
||
龔龖 龔龖
|
||
龔龖龗 龔龖龗
|
||
龔龖龗龞 龔龖龗龞
|
||
龔龖龗龞龡 龔龖龗龞
|
||
SELECT `C1`, LEFT(`C1`,5) FROM `T6`;
|
||
C1 LEFT(`C1`,5)
|
||
|
||
龔 龔
|
||
龔龖 龔龖
|
||
龔龖龗 龔龖龗
|
||
龔龖龗龞 龔龖龗龞
|
||
龔龖龗龞龡 龔龖龗龞龡
|
||
SELECT `C1`, LEFT(`C1`,0) FROM `T7`;
|
||
C1 LEFT(`C1`,0)
|
||
アイウエオ
|
||
アイウエ
|
||
アイウ
|
||
アイ
|
||
ア
|
||
|
||
SELECT `C1`, LEFT(`C1`,1) FROM `T7`;
|
||
C1 LEFT(`C1`,1)
|
||
アイウエオ ア
|
||
アイウエ ア
|
||
アイウ ア
|
||
アイ ア
|
||
ア ア
|
||
|
||
SELECT `C1`, LEFT(`C1`,2) FROM `T7`;
|
||
C1 LEFT(`C1`,2)
|
||
アイウエオ アイ
|
||
アイウエ アイ
|
||
アイウ アイ
|
||
アイ アイ
|
||
ア ア
|
||
|
||
SELECT `C1`, LEFT(`C1`,3) FROM `T7`;
|
||
C1 LEFT(`C1`,3)
|
||
アイウエオ アイウ
|
||
アイウエ アイウ
|
||
アイウ アイウ
|
||
アイ アイ
|
||
ア ア
|
||
|
||
SELECT `C1`, LEFT(`C1`,4) FROM `T7`;
|
||
C1 LEFT(`C1`,4)
|
||
アイウエオ アイウエ
|
||
アイウエ アイウエ
|
||
アイウ アイウ
|
||
アイ アイ
|
||
ア ア
|
||
|
||
SELECT `C1`, LEFT(`C1`,5) FROM `T7`;
|
||
C1 LEFT(`C1`,5)
|
||
アイウエオ アイウエオ
|
||
アイウエ アイウエ
|
||
アイウ アイウ
|
||
アイ アイ
|
||
ア ア
|
||
|
||
SELECT `C1`, LEFT(`C1`,0) FROM `T8`;
|
||
C1 LEFT(`C1`,0)
|
||
あいうえお
|
||
あいうえ
|
||
あいう
|
||
あい
|
||
あ
|
||
|
||
SELECT `C1`, LEFT(`C1`,1) FROM `T8`;
|
||
C1 LEFT(`C1`,1)
|
||
あいうえお あ
|
||
あいうえ あ
|
||
あいう あ
|
||
あい あ
|
||
あ あ
|
||
|
||
SELECT `C1`, LEFT(`C1`,2) FROM `T8`;
|
||
C1 LEFT(`C1`,2)
|
||
あいうえお あい
|
||
あいうえ あい
|
||
あいう あい
|
||
あい あい
|
||
あ あ
|
||
|
||
SELECT `C1`, LEFT(`C1`,3) FROM `T8`;
|
||
C1 LEFT(`C1`,3)
|
||
あいうえお あいう
|
||
あいうえ あいう
|
||
あいう あいう
|
||
あい あい
|
||
あ あ
|
||
|
||
SELECT `C1`, LEFT(`C1`,4) FROM `T8`;
|
||
C1 LEFT(`C1`,4)
|
||
あいうえお あいうえ
|
||
あいうえ あいうえ
|
||
あいう あいう
|
||
あい あい
|
||
あ あ
|
||
|
||
SELECT `C1`, LEFT(`C1`,5) FROM `T8`;
|
||
C1 LEFT(`C1`,5)
|
||
あいうえお あいうえお
|
||
あいうえ あいうえ
|
||
あいう あいう
|
||
あい あい
|
||
あ あ
|
||
|
||
SELECT `C1`, LEFT(`C1`,0) FROM `T9`;
|
||
C1 LEFT(`C1`,0)
|
||
龔龖龗龞龡
|
||
龔龖龗龞
|
||
龔龖龗
|
||
龔龖
|
||
龔
|
||
|
||
SELECT `C1`, LEFT(`C1`,1) FROM `T9`;
|
||
C1 LEFT(`C1`,1)
|
||
龔龖龗龞龡 龔
|
||
龔龖龗龞 龔
|
||
龔龖龗 龔
|
||
龔龖 龔
|
||
龔 龔
|
||
|
||
SELECT `C1`, LEFT(`C1`,2) FROM `T9`;
|
||
C1 LEFT(`C1`,2)
|
||
龔龖龗龞龡 龔龖
|
||
龔龖龗龞 龔龖
|
||
龔龖龗 龔龖
|
||
龔龖 龔龖
|
||
龔 龔
|
||
|
||
SELECT `C1`, LEFT(`C1`,3) FROM `T9`;
|
||
C1 LEFT(`C1`,3)
|
||
龔龖龗龞龡 龔龖龗
|
||
龔龖龗龞 龔龖龗
|
||
龔龖龗 龔龖龗
|
||
龔龖 龔龖
|
||
龔 龔
|
||
|
||
SELECT `C1`, LEFT(`C1`,4) FROM `T9`;
|
||
C1 LEFT(`C1`,4)
|
||
龔龖龗龞龡 龔龖龗龞
|
||
龔龖龗龞 龔龖龗龞
|
||
龔龖龗 龔龖龗
|
||
龔龖 龔龖
|
||
龔 龔
|
||
|
||
SELECT `C1`, LEFT(`C1`,5) FROM `T9`;
|
||
C1 LEFT(`C1`,5)
|
||
龔龖龗龞龡 龔龖龗龞龡
|
||
龔龖龗龞 龔龖龗龞
|
||
龔龖龗 龔龖龗
|
||
龔龖 龔龖
|
||
龔 龔
|
||
|
||
DROP TABLE `T1`;
|
||
DROP TABLE `T2`;
|
||
DROP TABLE `T3`;
|
||
DROP TABLE `T4`;
|
||
DROP TABLE `T5`;
|
||
DROP TABLE `T6`;
|
||
DROP TABLE `T7`;
|
||
DROP TABLE `T8`;
|
||
DROP TABLE `T9`;
|