index: guard the $in cartesian cap against u64 overflow; drop debug print
This commit is contained in:
@@ -1889,7 +1889,6 @@ test "indexed queries are equivalent to scans over a mixed corpus" {
|
||||
clear_id_list(testing.allocator, &scanned);
|
||||
try dispatch_find_ids(&tdb, io, "eq", f.pairs, &scanned);
|
||||
const indexed = indexed_results.items[fi];
|
||||
if (scanned.items.len != indexed.items.len) std.debug.print("MISMATCH(ab) filter {d}: scan={d} idx={d}\n", .{ fi, scanned.items.len, indexed.items.len });
|
||||
try testing.expectEqual(scanned.items.len, indexed.items.len);
|
||||
for (scanned.items, indexed.items) |a, b| try testing.expectEqualSlices(u8, a, b);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user