mirror of
https://github.com/percona/percona-toolkit.git
synced 2025-09-21 11:30:24 +00:00
Add lib/, t/lib/, and sandbox/. All modules are updated and passing on MySQL 5.1.
This commit is contained in:
21
t/lib/samples/issue_616.sql
Normal file
21
t/lib/samples/issue_616.sql
Normal file
@@ -0,0 +1,21 @@
|
||||
DROP DATABASE IF EXISTS issue_616;
|
||||
CREATE DATABASE issue_616;
|
||||
USE issue_616;
|
||||
CREATE TABLE `t` (
|
||||
`id` int(11) NOT NULL auto_increment,
|
||||
`name` text,
|
||||
PRIMARY KEY (`id`)
|
||||
);
|
||||
INSERT INTO issue_616.t VALUES
|
||||
(1, 'from master'),
|
||||
(11, 'from master'),
|
||||
(21, 'from master'),
|
||||
(22, 'from slave'),
|
||||
(32, 'from slave'),
|
||||
(42, 'from slave'),
|
||||
(31, 'from master'),
|
||||
(41, 'from master'),
|
||||
(51, 'from master');
|
||||
SET SQL_LOG_BIN=0;
|
||||
DELETE FROM issue_616.t WHERE id IN (22,32,42);
|
||||
SET SQL_LOG_BIN=1;
|
Reference in New Issue
Block a user