1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-08-08 14:22:09 +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-04 20:18:38 +00:00
parent ef89ef4155
commit 0c06aa1bd9
3 changed files with 77 additions and 71 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;