Skip to content

Commit 38ffaea

Browse files
committed
Fix a bad merge
953f847 was lost
1 parent 54ab281 commit 38ffaea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

sql/create_options.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,8 +266,8 @@ bool extend_option_list(THD* thd, st_plugin_int *plugin, bool create,
266266
value, opt->type != HA_OPTION_TYPE_ULL);
267267
if (!extended)
268268
{
269-
void *pos= *option_list ? &(last->next) : option_list;
270-
thd->register_item_tree_change((Item**)pos);
269+
if (*option_list)
270+
thd->register_item_tree_change((Item**)&(last->next));
271271
extended= true;
272272
}
273273
val->link(option_list, &last);

0 commit comments

Comments
 (0)