Created by Laurynas Biveinis and last modified
Get this branch:
bzr branch lp:~laurynas-biveinis/percona-server/bug1167486-5.1
Only Laurynas Biveinis can upload to this branch. If you are Laurynas Biveinis please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Recent revisions

610. By Laurynas Biveinis

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.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
This branch contains Public information 
Everyone can see this information.