You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-08-01 06:46:55 +03:00
fix(logging): MCOL-5789 Add logs on failure. (#3307)
This commit is contained in:
@ -3198,7 +3198,11 @@ void DBRM::rolledback(TxnID& txnid)
|
||||
if (tmp != ERR_OK)
|
||||
{
|
||||
if (getSystemReady() != 0)
|
||||
log("DBRM: error: SessionManager::rolledback() failed (valid error code)", logging::LOG_TYPE_ERROR);
|
||||
{
|
||||
std::stringstream errorStream;
|
||||
errorStream << "DBRM: error: SessionManager::rolledback() failed (error code " << tmp << ")";
|
||||
log(errorStream.str(), logging::LOG_TYPE_ERROR);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user