1
0
mirror of https://github.com/mariadb-corporation/mariadb-columnstore-engine.git synced 2025-07-29 08:21:15 +03:00

add args to system catalog err

This commit is contained in:
mariadb-KristinaPavlova
2025-06-27 14:35:41 +03:00
committed by Leonid Fedorov
parent a29ac85c7c
commit 40f4ee7008

View File

@ -843,7 +843,8 @@ void CalpontSystemCatalog::getSysData(CalpontSelectExecutionPlan& csep, NJLSysDa
if (tryCnt >= 5)
// 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);
@ -910,7 +911,9 @@ void CalpontSystemCatalog::getSysData_EC(CalpontSelectExecutionPlan& csep, NJLSy
if (status >= 1000) // new error system
throw IDBExcept(status);
else
throw IDBExcept(ERR_SYSTEM_CATALOG);
Message::Args args;
args.add("rowGroup status: ", status);
throw IDBExcept(ERR_SYSTEM_CATALOG, args);
}
if (rowCount > 0)