~ubuntu-branches/ubuntu/trusty/drizzle/trusty

« back to all changes in this revision

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

  • Committer: Bazaar Package Importer
  • Author(s): Monty Taylor
  • Date: 2010-03-18 12:12:31 UTC
  • Revision ID: james.westby@ubuntu.com-20100318121231-k6g1xe6cshbwa0f8
Tags: upstream-2010.03.1347
ImportĀ upstreamĀ versionĀ 2010.03.1347

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
DROP TABLE IF EXISTS t1, t2;
 
2
CREATE TABLE t1 (
 
3
id INT NOT NULL
 
4
, padding VARCHAR(200) NOT NULL
 
5
, PRIMARY KEY (id)
 
6
);
 
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;
 
14
START TRANSACTION;
 
15
CREATE TABLE `t1` ( `id` INT NOT NULL, `padding` VARCHAR(200) NOT NULL COLLATE utf8_general_ci, PRIMARY KEY `PRIMARY` (`id`) ) ENGINE = InnoDB COLLATE = utf8_general_ci;
 
16
COMMIT;
 
17
START TRANSACTION;
 
18
RENAME TABLE t1 TO t2;
 
19
COMMIT;
 
20
SET GLOBAL transaction_log_truncate_debug= true;