mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
cleanup: prepare_for_insert() -> prepare_for_modify()
make handler::prepare_for_insert() to be called to prepare the handler for writes, INSERT/UPDATE/DELETE.
This commit is contained in:
@@ -12333,7 +12333,7 @@ copy_data_between_tables(THD *thd, TABLE *from, TABLE *to,
|
||||
|
||||
from->file->column_bitmaps_signal();
|
||||
|
||||
to->file->prepare_for_insert(0);
|
||||
to->file->prepare_for_modify(true, false);
|
||||
DBUG_ASSERT(to->file->inited == handler::NONE);
|
||||
|
||||
/* Tell handler that we have values for all columns in the to table */
|
||||
|
Reference in New Issue
Block a user