~jlukas79/+junk/mysql-server

« back to all changes in this revision

Viewing changes to mysql-test/extra/binlog_tests/implicit.test

manual merge 6.0-main --> 6.0-bka-review

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
# First part: outside a transaction
 
2
RESET MASTER;
 
3
eval $prepare;
 
4
 
 
5
INSERT INTO t1 VALUES (1);
 
6
source include/show_binlog_events.inc;
 
7
eval $statement;
 
8
source include/show_binlog_events.inc;
 
9
if (`select '$cleanup' != ''`) {
 
10
  eval $cleanup;
 
11
}
 
12
 
 
13
# Second part: inside a transaction
 
14
RESET MASTER;
 
15
eval $prepare;
 
16
BEGIN;
 
17
INSERT INTO t1 VALUES (2);
 
18
source include/show_binlog_events.inc;
 
19
eval $statement;
 
20
source include/show_binlog_events.inc;
 
21
INSERT INTO t1 VALUES (3);
 
22
source include/show_binlog_events.inc;
 
23
COMMIT;
 
24
source include/show_binlog_events.inc;
 
25
if (`select '$cleanup' != ''`) {
 
26
  eval $cleanup;
 
27
}
 
28