~ubuntu-branches/ubuntu/trusty/mysql-5.6/trusty

« back to all changes in this revision

Viewing changes to mysql-test/suite/rpl/r/rpl_truncate_2myisam.result

  • Committer: Package Import Robot
  • Author(s): James Page
  • Date: 2014-02-12 11:54:27 UTC
  • Revision ID: package-import@ubuntu.com-20140212115427-oq6tfsqxl1wuwehi
Tags: upstream-5.6.15
ImportĀ upstreamĀ versionĀ 5.6.15

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
include/master-slave.inc
 
2
Warnings:
 
3
Note    ####    Sending passwords in plain text without SSL/TLS is extremely insecure.
 
4
Note    ####    Storing MySQL user name or password information in the master info repository is not secure and is therefore not recommended. Please consider using the USER and PASSWORD connection options for START SLAVE; see the 'START SLAVE Syntax' in the MySQL Manual for more information.
 
5
[connection master]
 
6
include/rpl_reset.inc
 
7
**** On Master ****
 
8
CREATE TABLE t1 (a INT, b LONG) ENGINE=MyISAM;
 
9
INSERT INTO t1 VALUES (1,1), (2,2);
 
10
**** On Master ****
 
11
TRUNCATE TABLE t1;
 
12
include/diff_tables.inc [master:t1, slave:t1]
 
13
==== Test using a table with delete triggers ====
 
14
**** On Master ****
 
15
SET @count := 1;
 
16
CREATE TABLE t2 (a INT, b LONG) ENGINE=MyISAM;
 
17
CREATE TRIGGER trg1 BEFORE DELETE ON t1 FOR EACH ROW SET @count := @count + 1;
 
18
**** On Master ****
 
19
TRUNCATE TABLE t1;
 
20
include/diff_tables.inc [master:t2, slave:t2]
 
21
DROP TABLE t1,t2;
 
22
include/rpl_reset.inc
 
23
**** On Master ****
 
24
CREATE TABLE t1 (a INT, b LONG) ENGINE=MyISAM;
 
25
INSERT INTO t1 VALUES (1,1), (2,2);
 
26
**** On Master ****
 
27
DELETE FROM t1;
 
28
include/diff_tables.inc [master:t1, slave:t1]
 
29
==== Test using a table with delete triggers ====
 
30
**** On Master ****
 
31
SET @count := 1;
 
32
CREATE TABLE t2 (a INT, b LONG) ENGINE=MyISAM;
 
33
CREATE TRIGGER trg1 BEFORE DELETE ON t1 FOR EACH ROW SET @count := @count + 1;
 
34
**** On Master ****
 
35
DELETE FROM t1;
 
36
include/diff_tables.inc [master:t2, slave:t2]
 
37
DROP TABLE t1,t2;
 
38
include/rpl_end.inc