Skip to content

Commit 09579fb

Browse files
authored
store: fix grafting bug
1 parent f898def commit 09579fb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

store/postgres/src/relational_queries.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4809,7 +4809,7 @@ impl<'a> QueryFragment<Pg> for CopyEntityBatchQuery<'a> {
48094809
fn walk_ast<'b>(&'b self, mut out: AstPass<'_, 'b, Pg>) -> QueryResult<()> {
48104810
out.unsafe_to_cache_prepared();
48114811

4812-
let has_vid_seq = self.src.object.has_vid_seq();
4812+
let has_vid_seq = self.dst.object.has_vid_seq();
48134813

48144814
// Construct a query
48154815
// insert into {dst}({columns})

0 commit comments

Comments
 (0)