mySQL 5.0.11 sources for tomato
[tomato.git] / release / src / router / mysql / mysql-test / suite / engines / funcs / t / in_string_pk_constraint_ignore.test
blob5d3a08703ecdeafe37901a2b2feb858613dacedc
1 --disable_warnings
2 DROP TABLE IF EXISTS t1;
3 --enable_warnings
4 CREATE TABLE t1(c1 CHAR(10) NOT NULL PRIMARY KEY);
5 INSERT INTO t1 (c1) VALUES('abc');
6 INSERT INTO t1 (c1) VALUES('def');
7 INSERT IGNORE INTO t1 (c1) VALUES('abc');
8 SELECT * FROM t1;
9 DROP TABLE t1;
10 CREATE TABLE t1(c1 VARCHAR(10) NOT NULL PRIMARY KEY);
11 INSERT INTO t1 (c1) VALUES('abc');
12 INSERT INTO t1 (c1) VALUES('def');
13 INSERT IGNORE INTO t1 (c1) VALUES('abc');
14 SELECT * FROM t1;
15 DROP TABLE t1;
16 CREATE TABLE t1(c1 BINARY(10) NOT NULL PRIMARY KEY);
17 INSERT INTO t1 (c1) VALUES('abc');
18 INSERT INTO t1 (c1) VALUES('def');
19 INSERT IGNORE INTO t1 (c1) VALUES('abc');
20 SELECT * FROM t1;
21 DROP TABLE t1;
22 CREATE TABLE t1(c1 VARBINARY(10) NOT NULL PRIMARY KEY);
23 INSERT INTO t1 (c1) VALUES('abc');
24 INSERT INTO t1 (c1) VALUES('def');
25 INSERT IGNORE INTO t1 (c1) VALUES('abc');
26 SELECT * FROM t1;
27 DROP TABLE t1;