~percona-toolkit-dev/percona-toolkit/mysql-5.6-test-fixes

« back to all changes in this revision

Viewing changes to t/lib/samples/issue_616.sql

  • Committer: Daniel Nichter
  • Date: 2011-06-24 17:22:06 UTC
  • Revision ID: daniel@percona.com-20110624172206-c7q4s4ad6r260zz6
Add lib/, t/lib/, and sandbox/.  All modules are updated and passing on MySQL 5.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
DROP DATABASE IF EXISTS issue_616;
 
2
CREATE DATABASE issue_616;
 
3
USE issue_616;
 
4
CREATE TABLE `t` (
 
5
  `id` int(11) NOT NULL auto_increment,
 
6
  `name` text,
 
7
  PRIMARY KEY  (`id`)
 
8
);
 
9
INSERT INTO issue_616.t VALUES
 
10
(1,  'from master'),
 
11
(11, 'from master'),
 
12
(21, 'from master'),
 
13
(22, 'from slave'),
 
14
(32, 'from slave'),
 
15
(42, 'from slave'),
 
16
(31, 'from master'),
 
17
(41, 'from master'),
 
18
(51, 'from master');
 
19
SET SQL_LOG_BIN=0;
 
20
DELETE FROM issue_616.t WHERE id IN (22,32,42);
 
21
SET SQL_LOG_BIN=1;