1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-11-03 17:13:17 +03:00

MCOL-787 - add checks before dbbuilder 7

This commit is contained in:
david hill
2017-07-19 09:49:31 -05:00
parent 3501c1a17a
commit 6a0bceaa9b
2 changed files with 20 additions and 2 deletions

View File

@@ -6855,7 +6855,14 @@ void startSystemThread(oam::DeviceNetworkList Devicenetworklist)
}
//run command to build system table if they don't already exist
processManager.buildSystemTables("pm1");
sleep(5);
int ret = processManager.buildSystemTables("pm1");
if (ret == oam::API_SUCCESS )
log.writeLog(__LINE__, "System Catalog Successfully Built by ProcMgr", LOG_TYPE_DEBUG);
else
log.writeLog(__LINE__, "System Catalog Successfully not built by ProcMgr, ret code = " + oam.itoa(ret), LOG_TYPE_DEBUG);
log.writeLog(__LINE__, "startSystemThread Exit", LOG_TYPE_DEBUG);
// exit thread
log.writeLog(__LINE__, "startSystemThread Exit", LOG_TYPE_DEBUG);