~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to mysql-test/t/key_primary.test

  • Committer: brian
  • Date: 2008-06-25 05:29:13 UTC
  • Revision ID: brian@localhost.localdomain-20080625052913-6upwo0jsrl4lnapl
clean slate

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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