1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

MCOL-4805 For functions in the plugin code that disable replication on the

slave threads, we now check for this condition early on in the function
block.
This commit is contained in:
Gagan Goel
2021-08-03 22:49:22 +00:00
parent c16b0f6ad7
commit afb638b9bd
3 changed files with 69 additions and 63 deletions

View File

@ -948,11 +948,11 @@ std::string ha_mcs_impl_cleartablelock(
int ha_mcs_impl_commit_ (handlerton* hton, THD* thd, bool all, cal_connection_info& ci )
{
int rc = 0;
if (thd->slave_thread && !get_replication_slave(thd))
return 0;
int rc = 0;
std::string command("COMMIT");
#ifdef INFINIDB_DEBUG
cout << "COMMIT" << endl;