Skip to content

Commit

Permalink
Update grovedb/src/operations/insert/mod.rs
Browse files Browse the repository at this point in the history
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
  • Loading branch information
QuantumExplorer and coderabbitai[bot] authored Sep 27, 2024
1 parent e987ff6 commit fa3a9eb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion grovedb/src/operations/insert/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -553,13 +553,14 @@ impl GroveDb {
P: Into<SubtreePath<'b, B>>,
{
check_grovedb_v0_with_cost!(
"insert_if_not_exists",
"insert_if_not_exists_return_existing_element",
grove_version
.grovedb_versions
.operations
.insert
.insert_if_not_exists_return_existing_element
);
);

let mut cost = OperationCost::default();
let subtree_path: SubtreePath<_> = path.into();
Expand Down

0 comments on commit fa3a9eb

Please sign in to comment.