1
0
mirror of https://github.com/MariaDB/server.git synced 2025-08-09 22:24:09 +03:00

References lp:1051808 - merged with lp:codership-mysql 5.5.27 based trunk

merged xtradb storage engine part
This commit is contained in:
Seppo Jaakola
2012-09-17 12:06:39 +03:00
parent 0892c7ec5d
commit f4862acfc3

View File

@@ -6305,7 +6305,10 @@ ha_innobase::write_row(
|| sql_command == SQLCOM_DROP_INDEX)
&& num_write_row >= 10000) {
#ifdef WITH_WSREP
WSREP_DEBUG("forced commit: %s", wsrep_thd_query(user_thd));
if (wsrep_on(user_thd) && sql_command == SQLCOM_LOAD) {
WSREP_DEBUG("forced trx split for LOAD: %s",
wsrep_thd_query(user_thd));
}
#endif /* WITH_WSREP */
/* ALTER TABLE is COMMITted at every 10000 copied rows.
The IX table lock for the original table has to be re-issued.