a)
=== modified file 'Percona-Server/storage/innobase/handler/ha_innodb.cc' --- Percona-Server/storage/innobase/handler/ha_innodb.cc 2013-10-27 16:53:20 +0000 +++ Percona-Server/storage/innobase/handler/ha_innodb.cc 2013-11-11 15:29:45 +0000 @@ -8303,8 +8303,8 @@ bool key_appended = false; trx_t *trx = thd_to_trx(thd);
- if (table_share && table_share->tmp_table != NO_TMP_TABLE) { - WSREP_DEBUG("skipping tmp table DML: THD: %lu tmp: %d SQL: %s", + if (table_share && table_share->tmp_table != NO_TMP_TABLE && thd->lex->sql_command != SQLCOM_CREATE_TABLE) { + WSREP_DEBUG("skipping tmp table DML: THD: %lu tmp: %d SQL: %s Command %d", wsrep_thd_thread_id(thd), table_share->tmp_table, (wsrep_thd_query(thd)) ?
fixes it.
But, the skipping DML clause was specifically added to prevent memory leak reported in https://bugs.launchpad.net/codership-mysql/+bug/1112514
So, need to check if the regresses here.
a)
=== modified file 'Percona- Server/ storage/ innobase/ handler/ ha_innodb. cc' Server/ storage/ innobase/ handler/ ha_innodb. cc 2013-10-27 16:53:20 +0000 Server/ storage/ innobase/ handler/ ha_innodb. cc 2013-11-11 15:29:45 +0000
--- Percona-
+++ Percona-
@@ -8303,8 +8303,8 @@
bool key_appended = false;
trx_t *trx = thd_to_trx(thd);
- if (table_share && table_share- >tmp_table != NO_TMP_TABLE) { "skipping tmp table DML: THD: %lu tmp: %d SQL: %s", >tmp_table != NO_TMP_TABLE && thd->lex- >sql_command != SQLCOM_ CREATE_ TABLE) { "skipping tmp table DML: THD: %lu tmp: %d SQL: %s Command %d",
wsrep_ thd_thread_ id(thd) ,
table_ share-> tmp_table,
(wsrep_ thd_query( thd)) ?
- WSREP_DEBUG(
+ if (table_share && table_share-
+ WSREP_DEBUG(
fixes it.
But, the skipping DML clause was specifically added to prevent /bugs.launchpad .net/codership- mysql/+ bug/1112514
memory leak reported in https:/
So, need to check if the regresses here.