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
Fix warnings found in DEBUG combined build
Fixes: * Irrelevant where conditions * Irrelevant const * A potential infinite loop in treenode * Bad implicit case fallthroughs * Explicit markings for required case fallthroughs * Unused variables * Unused function Also disabled some warnings for now which we should fix later.
This commit is contained in:
@ -1749,15 +1749,19 @@ int BRMWrapper::writeVB(IDBDataFile* pSourceFile, const VER_t transID, const OID
|
||||
{
|
||||
case ERR_DEADLOCK:
|
||||
rc = ERR_BRM_DEAD_LOCK;
|
||||
break;
|
||||
|
||||
case ERR_VBBM_OVERFLOW:
|
||||
rc = ERR_BRM_VB_OVERFLOW;
|
||||
break;
|
||||
|
||||
case ERR_NETWORK:
|
||||
rc = ERR_BRM_NETWORK;
|
||||
break;
|
||||
|
||||
case ERR_READONLY:
|
||||
rc = ERR_BRM_READONLY;
|
||||
break;
|
||||
|
||||
default:
|
||||
rc = ERR_BRM_WR_VB_ENTRY;
|
||||
|
Reference in New Issue
Block a user