~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to tests/suite/transaction_log/r/blob.result

  • Committer: Brian Aker
  • Date: 2009-11-12 16:57:30 UTC
  • mfrom: (1143.2.37 transaction-log)
  • Revision ID: brian@gaz-20091112165730-drc1242xr96jampa
Jay's replication patches

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
DROP TABLE IF EXISTS t1;
 
2
CREATE TABLE t1 (
 
3
id INT NOT NULL
 
4
, padding BLOB NOT NULL
 
5
, PRIMARY KEY (id)
 
6
);
 
7
INSERT INTO t1 VALUES (1, 'test\0me');
 
8
INSERT INTO t1 VALUES (2, 'test\0you');
 
9
UPDATE t1 SET padding = 'test\0you' WHERE padding = 'test\0me';
 
10
DELETE FROM t1 WHERE padding = 'test\0you';
 
11
DROP TABLE t1;
 
12
DROP TABLE IF EXISTS `t1`;
 
13
CREATE TABLE t1 ( id INT NOT NULL , padding BLOB NOT NULL , PRIMARY KEY (id) );
 
14
INSERT INTO `test`.`t1` (`id`,`padding`) VALUES (1,'test\0me');
 
15
INSERT INTO `test`.`t1` (`id`,`padding`) VALUES (2,'test\0you');
 
16
UPDATE `test`.`t1` SET `padding`='test\0you' WHERE `id`=1;
 
17
START TRANSACTION;
 
18
DELETE FROM `test`.`t1` WHERE `id`=1;
 
19
DELETE FROM `test`.`t1` WHERE `id`=2;
 
20
COMMIT;
 
21
DROP TABLE `t1`;
 
22
SET GLOBAL transaction_log_truncate_debug= true;