mirror of https://github.com/milvus-io/milvus.git
fix: build break under debug mode (#38790)
See #38435 Signed-off-by: Ted Xu <ted.xu@zilliz.com>pull/39050/head
parent
182cac03e5
commit
3dc95153b7
|
@ -61,6 +61,7 @@ namespace milvus::segcore {
|
|||
case DataType::INT64: { \
|
||||
auto col = \
|
||||
std::dynamic_pointer_cast<SingleChunkColumn>(column); \
|
||||
auto pks = reinterpret_cast<const int64_t*>(col->Data(0)); \
|
||||
for (int i = 1; i < col->NumRows(); ++i) { \
|
||||
assert(pks[i - 1] <= pks[i] && \
|
||||
"INT64 Column is not ordered!"); \
|
||||
|
|
Loading…
Reference in New Issue