diff options
author | jackpoz <giacomopoz@gmail.com> | 2020-06-26 23:28:33 +0200 |
---|---|---|
committer | Shauren <shauren.trinity@gmail.com> | 2022-01-19 22:17:42 +0100 |
commit | 68faf5bc4bc69a111eca479860215f075adcdad6 (patch) | |
tree | 051926e05d7750b5fb3bd9b4c7afc0d243aed501 /src/common/DataStores/DB2Meta.cpp | |
parent | f7c1ae01f83449348ba1cd275188e895f00e3422 (diff) |
Core/Common: Replace ASSERT(false, "...") with ABORT_MSG("...")
(cherry picked from commit 54c701cf0db81c0062e8c5020e07db18984d0ffa)
Diffstat (limited to 'src/common/DataStores/DB2Meta.cpp')
-rw-r--r-- | src/common/DataStores/DB2Meta.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/common/DataStores/DB2Meta.cpp b/src/common/DataStores/DB2Meta.cpp index b08c67c37ef..9b35353ce4f 100644 --- a/src/common/DataStores/DB2Meta.cpp +++ b/src/common/DataStores/DB2Meta.cpp @@ -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; } } |