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

Proposed by Laurynas Biveinis
Status: Superseded
Proposed branch: lp:~laurynas-biveinis/percona-server/bug1167486-5.1
Merge into: lp:percona-server/5.6
To merge this branch: bzr merge lp:~laurynas-biveinis/percona-server/bug1167486-5.1
Reviewer Review Type Date Requested Status
Registry Administrators Pending
Review via email:

Description of the change

Fix bug 1167486 (Valgrind error at THD::update_stats).

The error happens because THD::old_command is uninitialized in some
execution paths (slave SQL thread, bootstrap). The original purpose of
old_command (saving THD::command before overwriting it with COM_SLEEP)
is gone, as all THD::update_stats calls are before the overwrite. Thus
fix by removing this variable, checking THD::command instead and
asserting it's not COM_SLEEP.

Backport percona_bug1008278 testcase from 5.5.

To post a comment you must log in.

Unmerged revisions

Diff calculation failed

Calculating the branch diff failed. You can manually schedule an update if required.


People subscribed via source and target branches