You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-30 19:23:07 +03:00
Merge pull request #97 from mariadb-corporation/MCOL-507
MCOL-507 Further ExeMgr performance improvements
This commit is contained in:
@ -192,16 +192,16 @@ void QueryStats::unserialize(ByteStream& b)
|
||||
*/
|
||||
void QueryStats::insert()
|
||||
{
|
||||
ResourceManager rm;
|
||||
ResourceManager *rm = ResourceManager::instance();
|
||||
// check if query stats is enabled in Columnstore.xml
|
||||
if (!rm.queryStatsEnabled())
|
||||
if (!rm->queryStatsEnabled())
|
||||
return;
|
||||
|
||||
// get configure for every query to allow only changing of connect info
|
||||
string host, user, pwd;
|
||||
uint32_t port;
|
||||
|
||||
if (rm.getMysqldInfo(host, user, pwd, port) == false)
|
||||
if (rm->getMysqldInfo(host, user, pwd, port) == false)
|
||||
throw IDBExcept(IDBErrorInfo::instance()->errorMsg(ERR_CROSS_ENGINE_CONFIG),
|
||||
ERR_CROSS_ENGINE_CONFIG);
|
||||
|
||||
|
Reference in New Issue
Block a user