~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/suite/transaction_log/r/alter.result

  • Committer: Eric Day
  • Date: 2009-10-31 21:53:33 UTC
  • mfrom: (1200 staging)
  • mto: This revision was merged to the branch mainline in revision 1202.
  • Revision ID: eday@oddments.org-20091031215333-j94bjoanwmi68p6f
Merged trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
INSERT INTO t1 VALUES (1, "I love testing.");
8
8
INSERT INTO t1 VALUES (2, "I hate testing.");
9
9
ALTER TABLE t1 ADD dummy INT;
10
 
/*  */
11
 
DROP Table IF EXISTS `t1`;
12
 
/*  */
 
10
ALTER TABLE t1 ADD INDEX ix_padding (padding(20));
 
11
DROP TABLE IF EXISTS `t1`;
13
12
CREATE TABLE t1 ( id INT NOT NULL , padding VARCHAR(200) NOT NULL , PRIMARY KEY (id) );
14
 
/*  */
15
 
INSERT INTO `test`.`t1` (`id`,`padding`) VALUES ('1','I love testing.');
16
 
/*  */
17
 
INSERT INTO `test`.`t1` (`id`,`padding`) VALUES ('2','I hate testing.');
18
 
/*  */
 
13
INSERT INTO `test`.`t1` (`id`,`padding`) VALUES (1,'I love testing.');
 
14
INSERT INTO `test`.`t1` (`id`,`padding`) VALUES (2,'I hate testing.');
19
15
ALTER TABLE t1 ADD dummy INT;
20
 
SET GLOBAL command_log_truncate_debug= true;
 
16
ALTER TABLE t1 ADD INDEX ix_padding (padding(20));
 
17
SET GLOBAL transaction_log_truncate_debug= true;