Skip to content

Commit

Permalink
Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
karolisg committed Mar 28, 2024
1 parent 6de3ac5 commit 7a772b0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dozer-sink-oracle/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@ use oracle::{
Connection,
};

const TXN_ID_COL: &str = "txn_id";
const TXN_SEQ_COL: &str = "txn_seq";
const TXN_ID_COL: &str = "__txn_id";
const TXN_SEQ_COL: &str = "__txn_seq";
const OPKIND_COL: &str = "DOZER_OPKIND";
const METADATA_TABLE: &str = "__replication_metadata";
const META_TXN_ID_COL: &str = "txn_id";
Expand Down Expand Up @@ -889,7 +889,7 @@ mod tests {
trim_str(
r#"
MERGE INTO "owner"."tablename" D
USING (SELECT :1 "id", :2 "name", :3 "content", :4 "__txn_id", :5 "__txn_seq", :6 DOZER_OPKIND FROM DUAL) S
USING "owner"."tablename_temp" S
ON (D."id" = S."id" AND D."name" = S."name")
WHEN NOT MATCHED THEN INSERT (D."id", D."name", D."content", D."__txn_id", D."__txn_seq") VALUES (S."id", S."name", S."content", S."__txn_id", S."__txn_seq") WHERE S.DOZER_OPKIND = 0
WHEN MATCHED THEN UPDATE SET D."content" = S."content", D."__txn_id" = S."__txn_id", D."__txn_seq" = S."__txn_seq"
Expand Down

0 comments on commit 7a772b0

Please sign in to comment.