mariadb/mysql-test/suite/jp/r/jp_enum_sjis.result
mleich@five.local.lan 464c2de70a Fix for
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
2008-05-15 18:01:13 +02:00

279 lines
7.8 KiB
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

drop table if exists ``;
drop table if exists ``;
drop table if exists ``;
drop table if exists ``;
drop table if exists ``;
drop table if exists ``;
drop table if exists ``;
drop table if exists ``;
drop table if exists ``;
drop table if exists t1;
SET NAMES sjis;
SET character_set_database = sjis;
CREATE TABLE `` (`` ENUM('ア','イ','ウ'), INDEX(``)) DEFAULT CHARSET = sjis engine = innodb;
CREATE TABLE `` (`` ENUM('あ','い','う'), INDEX(``)) DEFAULT CHARSET = sjis engine = innodb;
CREATE TABLE `` (`` ENUM('ソ','十','表'), INDEX(``)) DEFAULT CHARSET = sjis engine = innodb;
CREATE TABLE `` (`` ENUM('ア','イ','ウ'), INDEX(``)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `` (`` ENUM('あ','い','う'), INDEX(``)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `` (`` ENUM('ソ','十','表'), INDEX(``)) DEFAULT CHARSET = sjis engine = myisam;
CREATE TABLE `` (`` ENUM('ア','イ','ウ'), INDEX(``)) DEFAULT CHARSET = sjis engine = MEMORY;
CREATE TABLE `` (`` ENUM('あ','い','う'), INDEX(``)) DEFAULT CHARSET = sjis engine = MEMORY;
CREATE TABLE `` (`` ENUM('ソ','十','表'), INDEX(``)) DEFAULT CHARSET = sjis engine = MEMORY;
INSERT INTO `` VALUES ('ア'),('イ'),('ウ');
INSERT INTO `` VALUES ('あ'),('い'),('う');
INSERT INTO `` VALUES ('ソ'),('十'),('表');
INSERT INTO `` VALUES ('ア'),('イ'),('ウ');
INSERT INTO `` VALUES ('あ'),('い'),('う');
INSERT INTO `` VALUES ('ソ'),('十'),('表');
INSERT INTO `` VALUES ('ア'),('イ'),('ウ');
INSERT INTO `` VALUES ('あ'),('い'),('う');
INSERT INTO `` VALUES ('ソ'),('十'),('表');
SELECT * FROM ``;
SELECT * FROM ``;
SELECT * FROM ``;
SELECT * FROM ``;
SELECT * FROM ``;
SELECT * FROM ``;
SELECT * FROM ``;
SELECT * FROM ``;
SELECT * FROM ``;
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
`` enum('ア','イ','ウ') DEFAULT NULL,
KEY `` (``)
) ENGINE=InnoDB DEFAULT CHARSET=sjis
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
`` enum('あ','い','う') DEFAULT NULL,
KEY `` (``)
) ENGINE=InnoDB DEFAULT CHARSET=sjis
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
`` enum('ソ','十','表') DEFAULT NULL,
KEY `` (``)
) ENGINE=InnoDB DEFAULT CHARSET=sjis
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
`` enum('ア','イ','ウ') DEFAULT NULL,
KEY `` (``)
) ENGINE=MyISAM DEFAULT CHARSET=sjis
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
`` enum('あ','い','う') DEFAULT NULL,
KEY `` (``)
) ENGINE=MyISAM DEFAULT CHARSET=sjis
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
`` enum('ソ','十','表') DEFAULT NULL,
KEY `` (``)
) ENGINE=MyISAM DEFAULT CHARSET=sjis
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
`` enum('ア','イ','ウ') DEFAULT NULL,
KEY `` (``)
) ENGINE=MEMORY DEFAULT CHARSET=sjis
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
`` enum('あ','い','う') DEFAULT NULL,
KEY `` (``)
) ENGINE=MEMORY DEFAULT CHARSET=sjis
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
`` enum('ソ','十','表') DEFAULT NULL,
KEY `` (``)
) ENGINE=MEMORY DEFAULT CHARSET=sjis
DESC ``;
Field Type Null Key Default Extra
enum('ア','イ','ウ') YES MUL NULL
DESC ``;
Field Type Null Key Default Extra
enum('あ','い','う') YES MUL NULL
DESC ``;
Field Type Null Key Default Extra
enum('ソ','十','表') YES MUL NULL
DESC ``;
Field Type Null Key Default Extra
enum('ア','イ','ウ') YES MUL NULL
DESC ``;
Field Type Null Key Default Extra
enum('あ','い','う') YES MUL NULL
DESC ``;
Field Type Null Key Default Extra
enum('ソ','十','表') YES MUL NULL
DESC ``;
Field Type Null Key Default Extra
enum('ア','イ','ウ') YES MUL NULL
DESC ``;
Field Type Null Key Default Extra
enum('あ','い','う') YES MUL NULL
DESC ``;
Field Type Null Key Default Extra
enum('ソ','十','表') YES MUL NULL
ALTER TABLE `` ADD `` CHAR(1) NOT NULL FIRST;
ALTER TABLE `` ADD `` CHAR(1) NOT NULL FIRST;
ALTER TABLE `` ADD `` CHAR(1) NOT NULL FIRST;
ALTER TABLE `` ADD `` CHAR(1) NOT NULL FIRST;
ALTER TABLE `` ADD `` CHAR(1) NOT NULL FIRST;
ALTER TABLE `` ADD `` CHAR(1) NOT NULL FIRST;
ALTER TABLE `` ADD `` CHAR(1) NOT NULL FIRST;
ALTER TABLE `` ADD `` CHAR(1) NOT NULL FIRST;
ALTER TABLE `` ADD `` CHAR(1) NOT NULL FIRST;
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
`` char(1) NOT NULL,
`` enum('ア','イ','ウ') DEFAULT NULL,
KEY `` (``)
) ENGINE=InnoDB DEFAULT CHARSET=sjis
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
`` char(1) NOT NULL,
`` enum('あ','い','う') DEFAULT NULL,
KEY `` (``)
) ENGINE=InnoDB DEFAULT CHARSET=sjis
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
`` char(1) NOT NULL,
`` enum('ソ','十','表') DEFAULT NULL,
KEY `` (``)
) ENGINE=InnoDB DEFAULT CHARSET=sjis
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
`` char(1) NOT NULL,
`` enum('ア','イ','ウ') DEFAULT NULL,
KEY `` (``)
) ENGINE=MyISAM DEFAULT CHARSET=sjis
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
`` char(1) NOT NULL,
`` enum('あ','い','う') DEFAULT NULL,
KEY `` (``)
) ENGINE=MyISAM DEFAULT CHARSET=sjis
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
`` char(1) NOT NULL,
`` enum('ソ','十','表') DEFAULT NULL,
KEY `` (``)
) ENGINE=MyISAM DEFAULT CHARSET=sjis
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
`` char(1) NOT NULL,
`` enum('ア','イ','ウ') DEFAULT NULL,
KEY `` (``)
) ENGINE=MEMORY DEFAULT CHARSET=sjis
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
`` char(1) NOT NULL,
`` enum('あ','い','う') DEFAULT NULL,
KEY `` (``)
) ENGINE=MEMORY DEFAULT CHARSET=sjis
SHOW CREATE TABLE ``;
Table Create Table
CREATE TABLE `` (
`` char(1) NOT NULL,
`` enum('ソ','十','表') DEFAULT NULL,
KEY `` (``)
) ENGINE=MEMORY DEFAULT CHARSET=sjis
CREATE TABLE t1(c1 enum('鉄','都')) default character set = sjis;
INSERT INTO t1 VALUES('鉄'),('都');
SELECT * FROM t1 WHERE c1 LIKE '鉄';
c1
DROP TABLE t1;
DESC ``;
Field Type Null Key Default Extra
char(1) NO NULL
enum('ア','イ','ウ') YES MUL NULL
DESC ``;
Field Type Null Key Default Extra
char(1) NO NULL
enum('あ','い','う') YES MUL NULL
DESC ``;
Field Type Null Key Default Extra
char(1) NO NULL
enum('ソ','十','表') YES MUL NULL
DESC ``;
Field Type Null Key Default Extra
char(1) NO NULL
enum('ア','イ','ウ') YES MUL NULL
DESC ``;
Field Type Null Key Default Extra
char(1) NO NULL
enum('あ','い','う') YES MUL NULL
DESC ``;
Field Type Null Key Default Extra
char(1) NO NULL
enum('ソ','十','表') YES MUL NULL
DESC ``;
Field Type Null Key Default Extra
char(1) NO NULL
enum('ア','イ','ウ') YES MUL NULL
DESC ``;
Field Type Null Key Default Extra
char(1) NO NULL
enum('あ','い','う') YES MUL NULL
DESC ``;
Field Type Null Key Default Extra
char(1) NO NULL
enum('ソ','十','表') YES MUL NULL
DROP TABLE ``;
DROP TABLE ``;
DROP TABLE ``;
DROP TABLE ``;
DROP TABLE ``;
DROP TABLE ``;
DROP TABLE ``;
DROP TABLE ``;
DROP TABLE ``;