Merge lp:~laurynas-biveinis/percona-server/bug1401776 into lp:percona-server/5.6

Proposed by Laurynas Biveinis
Status: Merged
Approved by: Laurynas Biveinis
Approved revision: no longer in the source branch.
Merged at revision: 709
Proposed branch: lp:~laurynas-biveinis/percona-server/bug1401776
Merge into: lp:percona-server/5.6
To merge this branch: bzr merge lp:~laurynas-biveinis/percona-server/bug1401776
Reviewer Review Type Date Requested Status
Laurynas Biveinis (community) Approve
Review via email: mp+244540@code.launchpad.net

Description of the change

Fix bug 1401776 / http://bugs.mysql.com/bug.php?id=75189 (engines
suite tests depending on InnoDB implementation details).

Two tests in the engines suites, which are supposed to be
SE-independent, record an InnoDB implementation detail:
engines/funcs.in_insert_select_unique_violation and
engines/iuds.insert_number test for duplicate primary key value
violations by INSERT SELECT that has several violations. The tests
record what InnoDB happens to return as the first violation, which
happens to be different for TokuDB.

Fix by accepting either value as the returned detected violation, by
applying
https://github.com/Tokutek/percona-server-5.6/commit/8d7225f745abd21b1da63ffb48cee000f02c3366
and
https://github.com/Tokutek/percona-server-5.6/commit/ac3478d441ac9a3394c3782462a6d8be079354ed.

Tested locally.

To post a comment you must log in.
Revision history for this message
Laurynas Biveinis (laurynas-biveinis) :
review: Approve

Subscribers

People subscribed via source and target branches