mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
MDEV-35813 Unnecessary InnoDB log writes in INSERT…SELECT
ha_innobase::extra(): Conditionally avoid a log write that had been
added in commit e5b9dc1536
(MDEV-25910)
because it may be invoked as part of select_insert::prepare_eof()
and not only during DDL operations.
Reviewed by: Sergei Golubchik
This commit is contained in:
committed by
Sergei Golubchik
parent
04e114aec0
commit
c3c5cd9377
@@ -11135,7 +11135,7 @@ do_continue:;
|
||||
|
||||
debug_crash_here("ddl_log_alter_after_copy"); // Use old table
|
||||
/*
|
||||
We are new ready to use the new table. Update the state in the
|
||||
We are now ready to use the new table. Update the state in the
|
||||
ddl log so that we recovery know that the new table is ready and
|
||||
in case of crash it should use the new one and log the query
|
||||
to the binary log.
|
||||
|
Reference in New Issue
Block a user