mirror of
https://github.com/MariaDB/server.git
synced 2025-01-15 19:42:28 +01:00
parent
54ab281de8
commit
38ffaeadab
1 changed files with 2 additions and 2 deletions
|
@ -266,8 +266,8 @@ bool extend_option_list(THD* thd, st_plugin_int *plugin, bool create,
|
|||
value, opt->type != HA_OPTION_TYPE_ULL);
|
||||
if (!extended)
|
||||
{
|
||||
void *pos= *option_list ? &(last->next) : option_list;
|
||||
thd->register_item_tree_change((Item**)pos);
|
||||
if (*option_list)
|
||||
thd->register_item_tree_change((Item**)&(last->next));
|
||||
extended= true;
|
||||
}
|
||||
val->link(option_list, &last);
|
||||
|
|
Loading…
Reference in a new issue