Merge lp:~laurynas-biveinis/percona-server/bug1334330 into lp:percona-server/5.6
Proposed by
Laurynas Biveinis
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Sergei Glushchenko | ||||
Approved revision: | no longer in the source branch. | ||||
Merged at revision: | 639 | ||||
Proposed branch: | lp:~laurynas-biveinis/percona-server/bug1334330 | ||||
Merge into: | lp:percona-server/5.6 | ||||
Diff against target: |
129 lines (+79/-5) 4 files modified
mysql-test/r/mysqld--help-notwin.result (+2/-2) mysql-test/r/tc-heuristic-recover.result (+24/-0) mysql-test/t/tc-heuristic-recover.test (+50/-0) sql/mysqld.cc (+3/-3) |
||||
To merge this branch: | bzr merge lp:~laurynas-biveinis/percona-server/bug1334330 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sergei Glushchenko (community) | g2 | Approve | |
Review via email: mp+226184@code.launchpad.net |
Description of the change
Fix bug 1334330 (--tc-heuristic
The issue is that tc_heuristic_
option parser to 0 if COMMIT was specified and 1 if ROLLBACK was, but
the users of this variable were treating 0 as option not given, 1 as
COMMIT, and were expecting 2 for ROLLBACK.
Fix by introducing a new option value NONE, which takes zero, and
bumps the other two as expected.
Add a testcase tc-heuristic-
mysqld-
http://
To post a comment you must log in.
Shouldn't mysqld- -help-win. result be also modified?