Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
ban-nobuhiro committed Jan 21, 2025
1 parent c0319cb commit 7a1cc65
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
7 changes: 3 additions & 4 deletions src/concurrency_control/interface/insert.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,10 +84,10 @@ static void register_read_if_ltx(session* const ti, Record* const rec_ptr) {
}

Status insert_body(Token const token, Storage const storage, // NOLINT
const std::string_view key, // NOLINT
const std::string_view key,
const std::string_view val,
[[maybe_unused]] blob_id_type const* blobs_data,
[[maybe_unused]] std::size_t blobs_size) {
blob_id_type const* blobs_data,
std::size_t blobs_size) {
// check constraint: key
auto ret = check_constraint_key_length(key);
if (ret != Status::OK) { return ret; }
Expand Down Expand Up @@ -174,7 +174,6 @@ Status insert(Token const token, Storage const storage, // NOLINT
const std::string_view val,
blob_id_type const* blobs_data,
std::size_t blobs_size) {
//TODO implement blobs
shirakami_log_entry << "insert, token: " << token
<< ", storage: " << storage << shirakami_binstring(key)
<< shirakami_binstring(val);
Expand Down
1 change: 0 additions & 1 deletion src/concurrency_control/interface/update.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@ Status update(Token token, Storage storage,
std::string_view const val,
blob_id_type const* blobs_data,
std::size_t blobs_size) {
//TODO implement blobs
shirakami_log_entry << "update, token: " << token
<< ", storage: " << storage << shirakami_binstring(key)
<< shirakami_binstring(val);
Expand Down
1 change: 0 additions & 1 deletion src/concurrency_control/interface/upsert.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,6 @@ Status upsert(Token token, Storage storage, std::string_view const key,
std::string_view const val,
blob_id_type const* blobs_data,
std::size_t blobs_size) {
//TODO implement blobs
shirakami_log_entry << "upsert, token: " << token << ", storage; "
<< storage << shirakami_binstring(key)
<< shirakami_binstring(val);
Expand Down

0 comments on commit 7a1cc65

Please sign in to comment.