You've already forked mariadb-columnstore-engine
mirror of
https://github.com/mariadb-corporation/mariadb-columnstore-engine.git
synced 2025-07-04 04:42:30 +03:00
Fix merge and coding style issues
This commit is contained in:
@ -119,16 +119,17 @@ int LibMySQL::run(const char* query)
|
||||
|
||||
void LibMySQL::handleMySqlError(const char* errStr, unsigned int errCode)
|
||||
{
|
||||
ostringstream oss;
|
||||
if (mysql->getErrno())
|
||||
ostringstream oss;
|
||||
|
||||
if (getErrno())
|
||||
{
|
||||
oss << errStr << " (" << mysql->getErrno() << ")";
|
||||
oss << " (" << mysql->getErrorMsg() << ")";
|
||||
oss << errStr << " (" << getErrno() << ")";
|
||||
oss << " (" << getErrorMsg() << ")";
|
||||
}
|
||||
else
|
||||
{
|
||||
oss << errStr << " (" << errCode << ")";
|
||||
oss << " (unknown)";
|
||||
oss << errStr << " (" << errCode << ")";
|
||||
oss << " (unknown)";
|
||||
}
|
||||
|
||||
throw logging::IDBExcept(oss.str(), logging::ERR_CROSS_ENGINE_CONNECT);
|
||||
|
Reference in New Issue
Block a user