~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Monty Taylor
  • Date: 2008-07-05 18:10:38 UTC
  • mto: This revision was merged to the branch mainline in revision 63.
  • Revision ID: monty@inaugust.com-20080705181038-0ih0nnamu5qrut0y
Fixed prototypes. Cleaned define a little bit.

Show diffs side-by-side

added added

removed removed

Lines of Context:
30
30
# Test problem with rows that are 65517-65520 bytes long
31
31
#
32
32
 
33
 
create table t1 (a int not null auto_increment, b blob not null, primary key (a));
 
33
create table t1 (a tinyint not null auto_increment, b blob not null, primary key (a));
34
34
 
35
35
let $1=100;
36
36
disable_query_log;
309
309
# Test of REPAIR that once failed
310
310
#
311
311
CREATE TABLE `t1` (
312
 
  `post_id` mediumint(8) NOT NULL auto_increment,
313
 
  `topic_id` mediumint(8) NOT NULL default '0',
 
312
  `post_id` mediumint(8) unsigned NOT NULL auto_increment,
 
313
  `topic_id` mediumint(8) unsigned NOT NULL default '0',
314
314
  `post_time` datetime NOT NULL default '0000-00-00 00:00:00',
315
315
  `post_text` text NOT NULL,
316
316
  `icon_url` varchar(10) NOT NULL default '',
317
 
  `sign` int(1) NOT NULL default '0',
 
317
  `sign` tinyint(1) unsigned NOT NULL default '0',
318
318
  `post_edit` varchar(150) NOT NULL default '',
319
319
  `poster_login` varchar(35) NOT NULL default '',
320
320
  `ip` varchar(15) NOT NULL default '',
713
713
# BUG##20357 - Got error 124 from storage engine using MIN and MAX functions
714
714
#              in queries
715
715
#
716
 
CREATE TABLE t1(a int, KEY(a)) ENGINE=MyISAM;
 
716
CREATE TABLE t1(a TINYINT, KEY(a)) ENGINE=MyISAM;
717
717
INSERT INTO t1 VALUES(1);
718
718
SELECT MAX(a) FROM t1 IGNORE INDEX(a);
719
719
ALTER TABLE t1 DISABLE KEYS;