lp:~laurynas-biveinis/percona-server/bug1167486-5.1

Created by Laurynas Biveinis on 2014-06-06 and last modified on 2014-06-06
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 on 2014-06-06

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:
lp:percona-server/5.6
This branch contains Public information 
Everyone can see this information.