~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/t/select.test

  • Committer: Stewart Smith
  • Date: 2008-09-19 19:09:47 UTC
  • mfrom: (395 codestyle)
  • mto: This revision was merged to the branch mainline in revision 408.
  • Revision ID: stewart@flamingspork.com-20080919190947-k2zj7tlljvr39yiq
mreg

Show diffs side-by-side

added added

removed removed

Lines of Context:
2332
2332
#
2333
2333
 
2334
2334
CREATE TABLE t1 ( 
2335
 
K2C4 varchar(4) character set latin1 collate latin1_bin NOT NULL default '', 
2336
 
K4N4 varchar(4) character set latin1 collate latin1_bin NOT NULL default '0000', 
 
2335
K2C4 varchar(4) collate utf8_bin NOT NULL default '', 
 
2336
K4N4 varchar(4) collate utf8_bin NOT NULL default '0000', 
2337
2337
F2I4 int NOT NULL default '0' 
2338
2338
) ENGINE=MyISAM;
2339
2339
 
2547
2547
 
2548
2548
create table t1 (id int not null default '0');
2549
2549
insert into t1 values (123),(191),(192);
2550
 
create table t2 (id char(16) character set utf8 not null);
 
2550
create table t2 (id char(16) not null);
2551
2551
insert into t2 values ('58013'),('58014'),('58015'),('58016');
2552
 
create table t3 (a_id int not null, b_id char(16) character set utf8);
 
2552
create table t3 (a_id int not null, b_id char(16));
2553
2553
insert into t3 values (123,null),(123,null),(123,null),(123,null),(123,null),(123,'58013');
2554
2554
 
2555
2555
# both queries are equivalent