Merge lp:~vlad-lesin/percona-server/5.1-bug915814 into lp:percona-server/5.1
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Laurynas Biveinis | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 609 | ||||
Proposed branch: | lp:~vlad-lesin/percona-server/5.1-bug915814 | ||||
Merge into: | lp:percona-server/5.1 | ||||
Diff against target: |
67 lines (+27/-1) 4 files modified
Percona-Server/mysql-test/r/percona_bug856404.result (+8/-0) Percona-Server/mysql-test/t/percona_bug856404-master.opt (+1/-0) Percona-Server/mysql-test/t/percona_bug856404.test (+15/-0) Percona-Server/sql/sql_cache.cc (+3/-1) |
||||
To merge this branch: | bzr merge lp:~vlad-lesin/percona-server/5.1-bug915814 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Laurynas Biveinis (community) | Approve | ||
Review via email: mp+201368@code.launchpad.net |
Description of the change
This is backport of fix for bug #915814 from
https:/
Revision 443 of this branch already contains fixes for this bug but not all of them. The
differences between them are the following:
1) 5.5 fix uses macros for counting buffer size for query in replication slave
event handler while 5.1 fix does not;
2) QueryStripComme
only if it's index does not exceed query length;
3) QueryStripComme
length(
terminating NULL;
4) Query_cache:
5) percona_bug856404 test case.
All items except 1 are backported.
http://
Rebased on GCA: http:// jenkins. percona. com/view/ PS%205. 1/job/percona- server- 5.1-param/ 601.