mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
make a proper cleanup if online_alter_binlog is failed to create
This commit is contained in:
committed by
Sergei Golubchik
parent
bac8f189ed
commit
2952274ac4
@ -11894,7 +11894,7 @@ copy_data_between_tables(THD *thd, TABLE *from, TABLE *to,
|
||||
{
|
||||
from->s->online_alter_binlog= new Cache_flip_event_log();
|
||||
if (!from->s->online_alter_binlog)
|
||||
DBUG_RETURN(1);
|
||||
goto err;
|
||||
from->s->online_alter_binlog->init_pthread_objects();
|
||||
error= from->s->online_alter_binlog->open(WRITE_CACHE);
|
||||
|
||||
|
Reference in New Issue
Block a user