1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-30 19:23:07 +03:00

MCOL-290 Use the proper enum to check for state

This commit is contained in:
David Hall
2016-09-22 09:31:12 -05:00
parent 76b4f3dd95
commit e48ef0063a

View File

@ -2326,7 +2326,7 @@ void processStatusMSG(messageqcpp::IOSocket* cfIos)
log.writeLog(__LINE__, "statusControl: Set Process " + moduleName + "/" + processName + + " State = " + oamState[state] + " PID = " + oam.itoa(PID), LOG_TYPE_DEBUG);
//update table
if ( state < STATE_MAX )
if ( state < PID_UPDATE )
fShmProcessStatus[shmIndex].ProcessOpState = state;
if ( PID != 1 )
fShmProcessStatus[shmIndex].ProcessID = PID;