1
0
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:
Marko Mäkelä
2025-03-14 13:06:37 +02:00
committed by Sergei Golubchik
parent 04e114aec0
commit c3c5cd9377
2 changed files with 14 additions and 1 deletions

View File

@@ -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.