mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-06 02:42:53 +08:00
fix: build break under debug mode (#38790)
See #38435 Signed-off-by: Ted Xu <ted.xu@zilliz.com>
This commit is contained in:
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…
x
Reference in New Issue
Block a user