Skip to content

Commit

Permalink
Merge branch 'main' into alter-table
Browse files Browse the repository at this point in the history
  • Loading branch information
guojidan authored Nov 28, 2023
2 parents 8b54b7c + e7dbac1 commit 6545289
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/storage/kip.rs
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ impl Transaction for KipTransaction {
Ok(())
}

fn delete(&mut self, table_name: &String, tuple_id: TupleId) -> Result<(), StorageError> {
fn delete(&mut self, table_name: &str, tuple_id: TupleId) -> Result<(), StorageError> {
let key = TableCodec::encode_tuple_key(table_name, &tuple_id)?;
self.tx.remove(&key)?;

Expand Down

0 comments on commit 6545289

Please sign in to comment.