Commit f6cf1d07 authored by unknown's avatar unknown

Updated comment

parent a3c5ad17
...@@ -1529,11 +1529,8 @@ int mysql_alter_table(THD *thd,char *new_db, char *new_name, ...@@ -1529,11 +1529,8 @@ int mysql_alter_table(THD *thd,char *new_db, char *new_name,
if (error) if (error)
{ {
/* /*
* The following function call will also free a The following function call will free the new_table pointer,
* new_table pointer. in close_temporary_table(), so we can safely directly jump to err
* Therefore, here new_table pointer is not free'd as it is
* free'd in close_temporary() which is called by by the
* close_temporary_table() function.
*/ */
close_temporary_table(thd,new_db,tmp_name); close_temporary_table(thd,new_db,tmp_name);
goto err; goto err;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment