Verified with PXC 5.5 and 5.6
---------------------- sql_parse.cc: ----------------------
#ifdef WITH_WSREP if (lex->sql_command == SQLCOM_INSERT_SELECT && thd->wsrep_consistency_check == CONSISTENCY_CHECK_DECLARED) { thd->wsrep_consistency_check = CONSISTENCY_CHECK_RUNNING; WSREP_TO_ISOLATION_BEGIN(first_table->db, first_table->table_name, NULL); }
----------------------- pt-table-checksum code: -----------------------
# ######################################################################## # Checksum args and the DMS part of the checksum query for each table. # ######################################################################## my %crc_args = $rc->get_crc_args(dbh => $master_dbh); my $checksum_dml = "REPLACE INTO $repl_table " . "(db, tbl, chunk, chunk_index," . " lower_boundary, upper_boundary, this_cnt, this_crc) " . "SELECT" . ($cluster->is_cluster_node($master_cxn) ? ' /*!99997*/' : '') . " ?, ?, ?, ?, ?, ?,"; my $past_cols = " COUNT(*), '0'";
Verified with PXC 5.5 and 5.6
------- ------- ------- - ------- ------- -
sql_parse.cc:
-------
#ifdef WITH_WSREP INSERT_ SELECT && consistency_ check == CONSISTENCY_ CHECK_DECLARED) >wsrep_ consistency_ check = CONSISTENCY_ CHECK_RUNNING; TO_ISOLATION_ BEGIN(first_ table-> db, first_table- >table_ name, NULL);
if (lex->sql_command == SQLCOM_
thd->wsrep_
{
thd-
WSREP_
}
------- ------- ------- -- ------- ------- --
pt-table-checksum code:
-------
# ####### ####### ####### ####### ####### ####### ####### ####### ####### ####### ## ####### ####### ####### ####### ####### ####### ####### ####### ####### ## crc_args( dbh => $master_dbh);
. "(db, tbl, chunk, chunk_index,"
. " lower_boundary, upper_boundary, this_cnt, this_crc) "
. "SELECT"
. ($cluster- >is_cluster_ node($master_ cxn) ? ' /*!99997*/' : '')
. " ?, ?, ?, ?, ?, ?,";
# Checksum args and the DMS part of the checksum query for each table.
# #######
my %crc_args = $rc->get_
my $checksum_dml = "REPLACE INTO $repl_table "
my $past_cols = " COUNT(*), '0'";