~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Lee Bieber
  • Date: 2010-12-24 01:39:31 UTC
  • mfrom: (2016.3.4 bug674471)
  • Revision ID: kalebral@gmail.com-20101224013931-tcyhvk5kfomg27k6
Merge Shrews - fix bug  674471: DROP SCHEMA/TABLE IF EXISTS being logged even if the object didn't exis

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;