You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-01 06:46:55 +03:00
MCOL-1405 - fix launch of mysql monitor thread on seperate module install
This commit is contained in:
@ -696,10 +696,10 @@ int main(int argc, char **argv)
|
|||||||
log.writeLog(__LINE__, "pthread_create failed, return code = " + oam.itoa(ret), LOG_TYPE_ERROR);
|
log.writeLog(__LINE__, "pthread_create failed, return code = " + oam.itoa(ret), LOG_TYPE_ERROR);
|
||||||
|
|
||||||
//mysqld status monitor thread
|
//mysqld status monitor thread
|
||||||
if ( ( config.ServerInstallType() == oam::INSTALL_COMBINE_DM_UM_PM ) ||
|
if ( config.moduleType() == "um" ||
|
||||||
(PMwithUM == "y") )
|
( config.moduleType() == "pm" && config.ServerInstallType() == oam::INSTALL_COMBINE_DM_UM_PM ) ||
|
||||||
|
( config.moduleType() == "pm" && PMwithUM == "y") )
|
||||||
{
|
{
|
||||||
|
|
||||||
pthread_t mysqlThread;
|
pthread_t mysqlThread;
|
||||||
ret = pthread_create (&mysqlThread, NULL, (void*(*)(void*)) &mysqlMonitorThread, NULL);
|
ret = pthread_create (&mysqlThread, NULL, (void*(*)(void*)) &mysqlMonitorThread, NULL);
|
||||||
if ( ret != 0 )
|
if ( ret != 0 )
|
||||||
|
Reference in New Issue
Block a user