1
by brian
clean slate |
1 |
#
|
2 |
# test of primary key conversions |
|
3 |
#
|
|
4 |
||
5 |
--disable_warnings
|
|
6 |
drop table if exists t1; |
|
7 |
--enable_warnings
|
|
8 |
||
9 |
create table t1 (t1 char(3) primary key); |
|
10 |
insert into t1 values("ABC"); |
|
11 |
insert into t1 values("ABA"); |
|
12 |
insert into t1 values("AB%"); |
|
13 |
select * from t1 where t1="ABC"; |
|
14 |
select * from t1 where t1="ABCD"; |
|
15 |
select * from t1 where t1 like "a_\%"; |
|
16 |
describe select * from t1 where t1="ABC"; |
|
17 |
describe select * from t1 where t1="ABCD"; |
|
18 |
drop table t1; |
|
19 |
||
20 |
# End of 4.1 tests |