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
add args to system catalog err
This commit is contained in:
committed by
Leonid Fedorov
parent
a29ac85c7c
commit
40f4ee7008
@ -843,7 +843,8 @@ void CalpontSystemCatalog::getSysData(CalpontSelectExecutionPlan& csep, NJLSysDa
|
|||||||
|
|
||||||
if (tryCnt >= 5)
|
if (tryCnt >= 5)
|
||||||
// throw runtime_error("Error occurred when calling system catalog. ExeMgr is not functioning.");
|
// throw runtime_error("Error occurred when calling system catalog. ExeMgr is not functioning.");
|
||||||
throw IDBExcept(ERR_SYSTEM_CATALOG);
|
Message::Args& args = "Cannot connect to ExeMgr re-connections tries exceeded";
|
||||||
|
throw IDBExcept(ERR_SYSTEM_CATALOG, args);
|
||||||
}
|
}
|
||||||
|
|
||||||
csep.sessionID(fSessionID);
|
csep.sessionID(fSessionID);
|
||||||
@ -910,7 +911,9 @@ void CalpontSystemCatalog::getSysData_EC(CalpontSelectExecutionPlan& csep, NJLSy
|
|||||||
if (status >= 1000) // new error system
|
if (status >= 1000) // new error system
|
||||||
throw IDBExcept(status);
|
throw IDBExcept(status);
|
||||||
else
|
else
|
||||||
throw IDBExcept(ERR_SYSTEM_CATALOG);
|
Message::Args args;
|
||||||
|
args.add("rowGroup status: ", status);
|
||||||
|
throw IDBExcept(ERR_SYSTEM_CATALOG, args);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (rowCount > 0)
|
if (rowCount > 0)
|
||||||
|
Reference in New Issue
Block a user