~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/r/innodb.result

  • Committer: Stewart Smith
  • Date: 2009-05-17 06:56:36 UTC
  • mto: (991.1.7 for-brian)
  • mto: This revision was merged to the branch mainline in revision 1029.
  • Revision ID: stewart@flamingspork.com-20090517065636-nx33k4pgw1oflwzw
fix test result now that I fixed SHOW CREATE TABLE

Show diffs side-by-side

added added

removed removed

Lines of Context:
819
819
Table   Create Table
820
820
t1      CREATE TABLE `t1` (
821
821
  `a` varchar(20) DEFAULT NULL,
822
 
  KEY `a` (`a`())
 
822
  KEY `a` (`a`(5))
823
823
) ENGINE=InnoDB
824
824
drop table t1;
825
825
create temporary table t1 (a int not null auto_increment, primary key(a)) engine=innodb;
1838
1838
  `t` text,
1839
1839
  KEY `v` (`v`),
1840
1840
  KEY `c` (`c`),
1841
 
  KEY `t` (`t`())
 
1841
  KEY `t` (`t`(10))
1842
1842
) ENGINE=InnoDB
1843
1843
select count(*) from t1;
1844
1844
count(*)
2058
2058
  `c` varchar(10) DEFAULT NULL,
2059
2059
  `t` text,
2060
2060
  KEY `c` (`c`),
2061
 
  KEY `t` (`t`()),
2062
 
  KEY `v` (`v`())
 
2061
  KEY `t` (`t`(10)),
 
2062
  KEY `v` (`v`(191))
2063
2063
) ENGINE=InnoDB
2064
2064
select count(*) from t1 where v='a';
2065
2065
count(*)
2138
2138
  `c` varchar(10) DEFAULT NULL,
2139
2139
  `t` text,
2140
2140
  KEY `c` (`c`),
2141
 
  KEY `t` (`t`()),
2142
 
  KEY `v` (`v`())
 
2141
  KEY `t` (`t`(10)),
 
2142
  KEY `v` (`v`(30))
2143
2143
) ENGINE=InnoDB
2144
2144
select count(*) from t1 where v='a';
2145
2145
count(*)
2220
2220
  `c` varchar(10) DEFAULT NULL,
2221
2221
  `t` text,
2222
2222
  KEY `c` (`c`),
2223
 
  KEY `t` (`t`()),
2224
 
  KEY `v` (`v`())
 
2223
  KEY `t` (`t`(10)),
 
2224
  KEY `v` (`v`(191))
2225
2225
) ENGINE=InnoDB
2226
2226
select v,count(*) from t1 group by v limit 10;
2227
2227
v       count(*)
2297
2297
  `v` varchar(10) DEFAULT NULL,
2298
2298
  `c` varchar(10) DEFAULT NULL,
2299
2299
  `t` text,
2300
 
  KEY `v` (`v`()),
2301
 
  KEY `c` (`c`()),
2302
 
  KEY `t` (`t`())
 
2300
  KEY `v` (`v`(5)),
 
2301
  KEY `c` (`c`(5)),
 
2302
  KEY `t` (`t`(5))
2303
2303
) ENGINE=InnoDB
2304
2304
drop table t1;
2305
2305
create table t1 (v char(10));
2486
2486
t9      CREATE TABLE `t9` (
2487
2487
  `col1` varchar(512) DEFAULT NULL,
2488
2488
  `col2` varchar(512) DEFAULT NULL,
2489
 
  KEY `col1` (`col1`(),`col2`())
 
2489
  KEY `col1` (`col1`(191),`col2`(191))
2490
2490
) ENGINE=InnoDB
2491
2491
drop table t1, t2, t4, t5, t6, t7, t8, t9;
2492
2492
create table t1 (col1 varchar(768), index(col1))
2509
2509
Table   Create Table
2510
2510
t1      CREATE TABLE `t1` (
2511
2511
  `col1` varchar(768) DEFAULT NULL,
2512
 
  KEY `col1` (`col1`())
 
2512
  KEY `col1` (`col1`(191))
2513
2513
) ENGINE=InnoDB
2514
2514
drop table t1, t2, t3, t4;
2515
2515
create table t1 (col1 varchar(768) primary key)