mirror of
https://github.com/MariaDB/server.git
synced 2025-01-24 15:54:37 +01:00
Merge bk-internal.mysql.com:/home/bk/mysql-5.1-wl2936
into chilla.local:/home/mydev/mysql-5.1-wl2936
This commit is contained in:
commit
4f8e86db40
1 changed files with 2 additions and 2 deletions
|
@ -2474,10 +2474,10 @@ SHOW_TYPE sys_var_pluginvar::show_type()
|
|||
|
||||
byte* sys_var_pluginvar::real_value_ptr(THD *thd, enum_var_type type)
|
||||
{
|
||||
DBUG_ASSERT(thd || (type != OPT_SESSION));
|
||||
DBUG_ASSERT(thd || (type == OPT_GLOBAL));
|
||||
if (plugin_var->flags & PLUGIN_VAR_THDLOCAL)
|
||||
{
|
||||
if (type != OPT_SESSION)
|
||||
if (type == OPT_GLOBAL)
|
||||
thd= NULL;
|
||||
|
||||
return intern_sys_var_ptr(thd, *(int*) (plugin_var+1), false);
|
||||
|
|
Loading…
Add table
Reference in a new issue