mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Conflicts resolving
This commit is contained in:
@ -1236,7 +1236,6 @@ static int mysql_admin_table(THD* thd, TABLE_LIST* tables,
|
||||
thd->net.last_errno= 0; // these errors shouldn't get client
|
||||
#endif
|
||||
thd->open_options&= ~extra_open_options;
|
||||
protocol->prepare_for_resend();
|
||||
|
||||
if (prepare_func)
|
||||
{
|
||||
@ -2046,12 +2045,9 @@ int mysql_alter_table(THD *thd,char *new_db, char *new_name,
|
||||
/* We changed a temporary table */
|
||||
if (error)
|
||||
{
|
||||
/*
|
||||
* The following function call will also free a
|
||||
* new_table pointer.
|
||||
* 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.
|
||||
/*
|
||||
The following function call will free the new_table pointer,
|
||||
in close_temporary_table(), so we can safely directly jump to err
|
||||
*/
|
||||
close_temporary_table(thd,new_db,tmp_name);
|
||||
goto err;
|
||||
|
Reference in New Issue
Block a user