sql_view.cc:
Memory leak fix sql/sql_view.cc: Memory leak fix
This commit is contained in:
parent
c57b6620c5
commit
55bd10965a
@ -208,7 +208,10 @@ fill_defined_view_parts (THD *thd, TABLE_LIST *view)
|
|||||||
lex->create_view_suid= decoy.view_suid ?
|
lex->create_view_suid= decoy.view_suid ?
|
||||||
VIEW_SUID_DEFINER : VIEW_SUID_INVOKER;
|
VIEW_SUID_DEFINER : VIEW_SUID_INVOKER;
|
||||||
if (free_view)
|
if (free_view)
|
||||||
|
{
|
||||||
delete decoy.view;
|
delete decoy.view;
|
||||||
|
lex->cleanup_after_one_table_open();
|
||||||
|
}
|
||||||
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user