summaryrefslogtreecommitdiff
path: root/libmysqld/examples/Makefile.am
diff options
context:
space:
mode:
authorAndrei Elkin <andrei.elkin@oracle.com>2012-07-05 14:37:48 +0300
committerAndrei Elkin <andrei.elkin@oracle.com>2012-07-05 14:37:48 +0300
commite3c8fb4a1cf2984cf1aa1fe31ba828de550f619c (patch)
treefafa0a0b0221db9c8d72bf7fcc51c3d92a103da4 /libmysqld/examples/Makefile.am
parent91c8e79fcd98bb586f32b22f5d67fcd5ae08ae28 (diff)
downloadmariadb-git-e3c8fb4a1cf2984cf1aa1fe31ba828de550f619c.tar.gz
Bug#14275000
Fixes for BUG11761686 left a flaw that managed to slip away from testing. Only effective filtering branch was actually tested with a regression test added to rpl_filter_tables_not_exist. The reason of the failure is destuction of too early mem-root-allocated memory at the end of the deferred User-var's do_apply_event(). Fixed with bypassing free_root() in the deferred execution branch. Deallocation of created in do_apply_event() items is done by the base code through THD::cleanup_after_query() -> free_items() that the parent Query can't miss. sql/log_event.cc: Do not call free_root() in case the deferred User-var event. Necessary methods to the User-var class are added, do_apply_event() refined. sql/log_event.h: Necessary methods to avoid destoying mem-root-based memory at User-var applying are defined.
Diffstat (limited to 'libmysqld/examples/Makefile.am')
0 files changed, 0 insertions, 0 deletions