~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/null_key.result

  • Committer: Brian Aker
  • Date: 2009-08-15 00:59:30 UTC
  • mfrom: (1115.1.7 merge)
  • Revision ID: brian@gaz-20090815005930-q47yenjrq1esiwsz
Merge of Trond + Brian

Show diffs side-by-side

added added

removed removed

Lines of Context:
72
72
select * from t1 where a > 8 and a < 9;
73
73
a       b
74
74
create table t2 like t1;
75
 
ERROR HY000: Can't create table 'test.t2' (errno: 138)
76
 
create temporary table t2 like t1;
77
 
show create table t2;
78
 
Table   Create Table
79
 
t2      CREATE TEMPORARY TABLE `t2` (
80
 
  `a` int DEFAULT NULL,
81
 
  `b` int NOT NULL,
82
 
  UNIQUE KEY `a` (`a`,`b`),
83
 
  KEY `b` (`b`)
84
 
) ENGINE=MyISAM
85
75
insert into t2 select * from t1;
86
76
alter table t1 modify b blob not null, add c int not null, drop key a, add unique key (a,b(20),c), drop key b, add key (b(10));
87
77
explain select * from t1 where a is null and b = 2;
405
395
Handler_read_next       2
406
396
Handler_read_prev       0
407
397
Handler_read_rnd        0
408
 
Handler_read_rnd_next   11
 
398
Handler_read_rnd_next   5
409
399
DROP TABLE t1,t2,t3,t4;
410
400
CREATE TABLE t1 (
411
401
a int default NULL,