diff options
author | unknown <acurtis/antony@xiphis.org/ltamd64.xiphis.org> | 2007-05-04 16:44:07 -0700 |
---|---|---|
committer | unknown <acurtis/antony@xiphis.org/ltamd64.xiphis.org> | 2007-05-04 16:44:07 -0700 |
commit | cd3ced79e9670f3dead8d4613d697f8c01db3d48 (patch) | |
tree | 7061f187342359f206ee25a91963f721fa2a1999 /extra | |
parent | 5dee5507a51d3b00f30f81f2afab18845f4d0dce (diff) | |
download | mariadb-git-cd3ced79e9670f3dead8d4613d697f8c01db3d48.tar.gz |
WL#2936
Move copying of global variables into thd.variables into plugin_thdvar_init().
plugin_thdvar_init() may be called multiple times when THD::change_user() is called.
This fixes a plugin ref-count leak when running the test mysql_client_test
sql/sql_class.cc:
wl2936
Initialize thd.variables to zero in constructor.
Move copying of global variables into thd.variables into plugin_thdvar_init()
sql/sql_plugin.cc:
wl2936
Move copying of global variables into thd.variables into plugin_thdvar_init().
plugin_thdvar_init() may be called multiple times when THD::change_user() is called.
This fixes a plugin ref-count leak when running the test mysql_client_test
Diffstat (limited to 'extra')
0 files changed, 0 insertions, 0 deletions