mirror of
https://github.com/TrinityCore/TrinityCore.git
synced 2026-02-09 19:49:32 +01:00
Core/Common: Replace ASSERT(false, "...") with ABORT_MSG("...")
(cherry picked from commit 54c701cf0d)
This commit is contained in:
@@ -73,7 +73,7 @@ uint32 DB2Meta::GetRecordSize() const
|
||||
size += sizeof(char*);
|
||||
break;
|
||||
default:
|
||||
ASSERT(false, "Unsupported column type specified %c", Fields[i].Type);
|
||||
ABORT_MSG("Unsupported column type specified %c", Fields[i].Type);
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -124,7 +124,7 @@ uint32 DB2Meta::GetIndexFieldOffset() const
|
||||
offset += sizeof(char*);
|
||||
break;
|
||||
default:
|
||||
ASSERT(false, "Unsupported column type specified %c", Fields[i].Type);
|
||||
ABORT_MSG("Unsupported column type specified %c", Fields[i].Type);
|
||||
break;
|
||||
}
|
||||
}
|
||||
@@ -168,7 +168,7 @@ int32 DB2Meta::GetParentIndexFieldOffset() const
|
||||
offset += sizeof(char*);
|
||||
break;
|
||||
default:
|
||||
ASSERT(false, "Unsupported column type specified %c", Fields[i].Type);
|
||||
ABORT_MSG("Unsupported column type specified %c", Fields[i].Type);
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user