ctype_collate.test
上传用户:romrleung
上传日期:2022-05-23
资源大小:18897k
文件大小:6k
- --disable_warnings
- DROP TABLE IF EXISTS t1;
- DROP TABLE IF EXISTS t2;
- --enable_warnings
- CREATE TABLE t1 (
- latin1_f CHAR(32) CHARACTER SET latin1 NOT NULL
- );
- --error 1253
- CREATE TABLE t2 (
- latin1_f CHAR(32) CHARACTER SET latin1 COLLATE koi8r_general_ci NOT NULL
- );
- --error 1273
- CREATE TABLE t2 (
- latin1_f CHAR(32) CHARACTER SET latin1 COLLATE some_non_existing_col NOT NULL
- );
- INSERT INTO t1 (latin1_f) VALUES (_latin1'A');
- INSERT INTO t1 (latin1_f) VALUES (_latin1'a');
- INSERT INTO t1 (latin1_f) VALUES (_latin1'AD');
- INSERT INTO t1 (latin1_f) VALUES (_latin1'ad');
- INSERT INTO t1 (latin1_f) VALUES (_latin1'AE');
- INSERT INTO t1 (latin1_f) VALUES (_latin1'ae');
- INSERT INTO t1 (latin1_f) VALUES (_latin1'AF');
- INSERT INTO t1 (latin1_f) VALUES (_latin1'af');
- INSERT INTO t1 (latin1_f) VALUES (_latin1'