Skip to content

Commit 809eefb

Browse files
Zoran Cvetkovzorancv
authored andcommitted
account for vids in calculating chunk_size
1 parent ede2071 commit 809eefb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

store/postgres/src/relational_queries.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2331,6 +2331,9 @@ impl<'a> InsertQuery<'a> {
23312331
if table.has_causality_region {
23322332
count += 1;
23332333
}
2334+
if table.object.strict_vid_order() {
2335+
count += 1;
2336+
}
23342337
for column in table.columns.iter() {
23352338
// This code depends closely on how `walk_ast` and `QueryValue`
23362339
// put values into bind variables

0 commit comments

Comments
 (0)