~eday/drizzle/eday-dev

« back to all changes in this revision

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

  • Committer: Eric Day
  • Date: 2010-01-07 20:02:38 UTC
  • mfrom: (971.3.291 staging)
  • Revision ID: eday@oddments.org-20100107200238-uqw8v6kv9pl7nny5
Merged trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
DROP TABLE IF EXISTS t1;
2
2
CREATE TABLE t1 (
3
 
id INT NOT NULL
 
3
id INT NOT NULL PRIMARY KEY
4
4
, padding VARCHAR(200) NOT NULL
5
5
);
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;
9
10
DROP TABLE IF EXISTS `t1`;
10
 
CREATE TABLE t1 ( id INT NOT NULL , padding VARCHAR(200) NOT NULL );
 
11
COMMIT;
 
12
START TRANSACTION;
 
13
CREATE TABLE t1 ( id INT NOT NULL PRIMARY KEY , padding VARCHAR(200) NOT NULL );
 
14
COMMIT;
 
15
START TRANSACTION;
11
16
INSERT INTO `test`.`t1` (`id`,`padding`) VALUES (1,'I love testing.');
 
17
COMMIT;
 
18
START TRANSACTION;
12
19
INSERT INTO `test`.`t1` (`id`,`padding`) VALUES (2,'I hate testing.');
 
20
COMMIT;
 
21
START TRANSACTION;
13
22
TRUNCATE TABLE `test`.`t1`;
 
23
COMMIT;
14
24
SET GLOBAL transaction_log_truncate_debug= true;