~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/transaction_log/tests/r/rename.result

  • Committer: David Shrewsbury
  • Date: 2010-12-21 20:47:29 UTC
  • mto: This revision was merged to the branch mainline in revision 2026.
  • Revision ID: shrewsbury.dave@gmail.com-20101221204729-a1spv2gkz4yhq57v
No longer pass DROP SCHEMA/TABLE through the replication stream if it uses IF EXISTS and does not drop anything. Fix up test cases for this change.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
, PRIMARY KEY (id)
6
6
);
7
7
RENAME TABLE t1 TO t2;
8
 
START TRANSACTION;
9
 
DROP TABLE IF EXISTS `test`.`t1`;
10
 
COMMIT;
11
 
START TRANSACTION;
12
 
DROP TABLE IF EXISTS `test`.`t2`;
13
 
COMMIT;
 
8
DROP TABLE t2;
14
9
START TRANSACTION;
15
10
CREATE TABLE `test`.`t1` (   `id` INT NOT NULL,   `padding` VARCHAR(200) COLLATE utf8_general_ci NOT NULL,   PRIMARY KEY (`id`) ) ENGINE=InnoDB COLLATE = utf8_general_ci;
16
11
COMMIT;
17
12
START TRANSACTION;
18
13
RENAME TABLE t1 TO t2;
19
14
COMMIT;
 
15
START TRANSACTION;
 
16
DROP TABLE `test`.`t2`;
 
17
COMMIT;
20
18
 
21
19
Generating statements for innodb replication log
22
20
START TRANSACTION;
23
 
DROP TABLE IF EXISTS `test`.`t1`;
24
 
COMMIT;
25
 
START TRANSACTION;
26
 
DROP TABLE IF EXISTS `test`.`t2`;
27
 
COMMIT;
28
 
START TRANSACTION;
29
21
CREATE TABLE `test`.`t1` (   `id` INT NOT NULL,   `padding` VARCHAR(200) COLLATE utf8_general_ci NOT NULL,   PRIMARY KEY (`id`) ) ENGINE=InnoDB COLLATE = utf8_general_ci;
30
22
COMMIT;
31
23
START TRANSACTION;
32
24
RENAME TABLE t1 TO t2;
33
25
COMMIT;
 
26
START TRANSACTION;
 
27
DROP TABLE `test`.`t2`;
 
28
COMMIT;
34
29
SET GLOBAL transaction_log_truncate_debug= true;