mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
cleanup: ha_external_unlock() helper
as mentioned in f9f33b85be
and generally to make it
easier to talk about
This commit is contained in:
@ -11322,7 +11322,7 @@ copy_data_between_tables(THD *thd, TABLE *from, TABLE *to,
|
||||
ha_enable_transaction(thd, TRUE);
|
||||
}
|
||||
|
||||
if (to->file->ha_external_lock(thd,F_UNLCK))
|
||||
if (to->file->ha_external_unlock(thd))
|
||||
error=1;
|
||||
if (error < 0 && !from->s->tmp_table &&
|
||||
to->file->extra(HA_EXTRA_PREPARE_FOR_RENAME))
|
||||
|
Reference in New Issue
Block a user