Core/Common: Replace ASSERT(false, "...") with ABORT_MSG("...")

(cherry picked from commit 54c701cf0d)
This commit is contained in:
jackpoz
2020-06-26 23:28:33 +02:00
committed by Shauren
parent f7c1ae01f8
commit 68faf5bc4b
18 changed files with 50 additions and 50 deletions

View File

@@ -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;
}
}