You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
feat(plugin): All InnoDB queries are pushed down to Columnstore if columnstore_innodb_queries_uses_mcs = ON in the configuration before server start
This commit is contained in:
@ -96,6 +96,14 @@ int LibMySQL::init(const char* h, unsigned int p, const char* u, const char* w,
|
||||
return ret;
|
||||
}
|
||||
|
||||
// Disable Select Handler to avoid recursive SH execution path for CES.
|
||||
static const std::string disableSelectHandler = "SET SESSION columnstore_select_handler = OFF";
|
||||
if (mysql_real_query(fCon, disableSelectHandler.c_str(), disableSelectHandler.length()) != 0)
|
||||
{
|
||||
fErrStr = "fatal error setting columnstore_select_handler=OFF in libmysql_client lib";
|
||||
ret = -1;
|
||||
return ret;
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
Reference in New Issue
Block a user