You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-29 08:21:15 +03:00
Change error codes to match MariaDB's new scheme
This commit is contained in:
@ -128,20 +128,20 @@ void View::transform()
|
||||
}
|
||||
if (gwi.fatalParseError)
|
||||
{
|
||||
setError(gwi.thd, HA_ERR_UNSUPPORTED, gwi.parseErrorText);
|
||||
setError(gwi.thd, ER_CHECK_NOT_IMPLEMENTED, gwi.parseErrorText);
|
||||
return;
|
||||
}
|
||||
}
|
||||
catch (IDBExcept& ie)
|
||||
{
|
||||
setError(gwi.thd, HA_ERR_INTERNAL_ERROR, ie.what());
|
||||
setError(gwi.thd, ER_INTERNAL_ERROR, ie.what());
|
||||
CalpontSystemCatalog::removeCalpontSystemCatalog(sessionID);
|
||||
return;
|
||||
}
|
||||
catch (...)
|
||||
{
|
||||
string emsg = IDBErrorInfo::instance()->errorMsg(ERR_LOST_CONN_EXEMGR);
|
||||
setError(gwi.thd, HA_ERR_INTERNAL_ERROR, emsg);
|
||||
setError(gwi.thd, ER_INTERNAL_ERROR, emsg);
|
||||
CalpontSystemCatalog::removeCalpontSystemCatalog(sessionID);
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user