~ubuntu-branches/ubuntu/natty/mysql-5.1/natty-proposed

« back to all changes in this revision

Viewing changes to mysql-test/extra/rpl_tests/rpl_row_sp007.test

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2012-02-22 08:30:45 UTC
  • mfrom: (1.4.1)
  • Revision ID: package-import@ubuntu.com-20120222083045-2rd53r4bnyx7qus4
Tags: 5.1.61-0ubuntu0.11.04.1
* SECURITY UPDATE: Update to 5.1.61 to fix multiple security issues
  (LP: #937869)
  - http://www.oracle.com/technetwork/topics/security/cpujan2012-366304.html
  - CVE-2011-2262
  - CVE-2012-0075
  - CVE-2012-0112
  - CVE-2012-0113
  - CVE-2012-0114
  - CVE-2012-0115
  - CVE-2012-0116
  - CVE-2012-0117
  - CVE-2012-0118
  - CVE-2012-0119
  - CVE-2012-0120
  - CVE-2012-0484
  - CVE-2012-0485
  - CVE-2012-0486
  - CVE-2012-0487
  - CVE-2012-0488
  - CVE-2012-0489
  - CVE-2012-0490
  - CVE-2012-0491
  - CVE-2012-0492
  - CVE-2012-0493
  - CVE-2012-0494
  - CVE-2012-0495
  - CVE-2012-0496

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#############################################################################
2
 
# Original Author: JBM                                                      #
3
 
# Original Date: Aug/15/2005                                                #
4
 
# Updated: 08/29/2005 Remove sleeps                                         #
5
 
#############################################################################
6
2
# TEST: SP that creates table, starts tranaction inserts. Save point, insert#
7
3
#       rollback to save point and then commits.                            #
8
4
#############################################################################
10
6
-- source include/have_binlog_format_row.inc
11
7
-- source include/master-slave.inc
12
8
 
13
 
# Begin clean up test section
14
 
connection master;
15
 
--disable_warnings
16
 
DROP PROCEDURE IF EXISTS test.p1;
17
 
DROP TABLE IF EXISTS test.t1;
18
 
--enable_warnings
19
 
# End of cleanup
20
 
 
21
9
# Begin test section 1
22
10
delimiter |;
23
11
eval CREATE PROCEDURE test.p1(IN i INT)
42
30
 
43
31
let $message=< ---- Slave selects-- >;
44
32
--source include/show_msg.inc
45
 
save_master_pos;
46
 
connection slave;
47
 
sync_with_master;
 
33
sync_slave_with_master;
48
34
SELECT * FROM test.t1;
49
35
 
50
36
let $message=< ---- Master selects-- >;
55
41
 
56
42
let $message=< ---- Slave selects-- >;
57
43
--source include/show_msg.inc
58
 
save_master_pos;
59
 
connection slave;
60
 
sync_with_master;
 
44
sync_slave_with_master;
61
45
SELECT * FROM test.t1;
62
46
 
63
47
connection master;
64
48
#show binlog events;
65
49
 
66
50
 
67
 
DROP PROCEDURE IF EXISTS test.p1;
68
 
DROP TABLE IF EXISTS test.t1;
 
51
DROP PROCEDURE test.p1;
 
52
DROP TABLE test.t1;
69
53
 
70
54
# End of 5.0 test case
 
55
--source include/rpl_end.inc