~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/transaction_log/tests/r/truncate.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:
6
6
INSERT INTO t1 VALUES (1, "I love testing.");
7
7
INSERT INTO t1 VALUES (2, "I hate testing.");
8
8
TRUNCATE TABLE t1;
9
 
START TRANSACTION;
10
 
DROP TABLE IF EXISTS `test`.`t1`;
11
 
COMMIT;
 
9
DROP TABLE t1;
12
10
START TRANSACTION;
13
11
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;
14
12
COMMIT;
21
19
START TRANSACTION;
22
20
TRUNCATE TABLE `test`.`t1`;
23
21
COMMIT;
 
22
START TRANSACTION;
 
23
DROP TABLE `test`.`t1`;
 
24
COMMIT;
24
25
SET GLOBAL transaction_log_truncate_debug= true;