#At file:///home/andrei/MySQL/BZR/2a-23May/WL/mysql-next-mr-wl5569/ based on revid:andrei.elkin@stripped
3264 Andrei Elkin 2010-12-23
wl#5569 MTS
fixing corner cases that mtr-testing with mts workers against stardard suites reveal.
@ sql/log_event.cc
removing COMMIT Query event from a set of ones containing the partition info.
@ sql/log_event.h
ROLLBACK TO can be inside of a replicated trans.
modified:
sql/log_event.cc
sql/log_event.h
=== modified file 'sql/log_event.cc'
--- a/sql/log_event.cc 2010-12-22 18:31:13 +0000
+++ b/sql/log_event.cc 2010-12-23 15:49:19 +0000
@@ -2369,7 +2369,7 @@ bool Log_event::contains_partition_info(
// todo: Query event is limitly supported
// which ev->get_db() yields the session db not the actual db
- get_type_code() == QUERY_EVENT;
+ (get_type_code() == QUERY_EVENT && !ends_group());
}
/**
=== modified file 'sql/log_event.h'
--- a/sql/log_event.h 2010-12-22 18:31:13 +0000
+++ b/sql/log_event.h 2010-12-23 15:49:19 +0000
@@ -1931,7 +1931,8 @@ public: /* !!! Public in this pat
{
return
!strncmp(query, "COMMIT", q_len) ||
- !strncasecmp(query, STRING_WITH_LEN("ROLLBACK"));
+ (!strncasecmp(query, STRING_WITH_LEN("ROLLBACK"))
+ && strncasecmp(query, STRING_WITH_LEN("ROLLBACK TO ")));
}
};
Attachment: [text/bzr-bundle] bzr/andrei.elkin@oracle.com-20101223154919-qvc7jgcn1d5u52za.bundle
| Thread |
|---|
| • bzr commit into mysql-next-mr-wl5569 branch (andrei.elkin:3264) WL#5569 | Andrei Elkin | 23 Dec |