Skip to content
Snippets Groups Projects
Commit ebbc247b authored by Sergey Yakubov's avatar Sergey Yakubov
Browse files

fix mem error

parent 17c8733f
No related branches found
No related tags found
No related merge requests found
......@@ -58,7 +58,7 @@ Error RequestHandlerDbWrite::InsertRecordToDb(const Request* request) const {
auto col_name = collection_name_prefix_ + "_" + request->GetStream();
Error err;
if (op_code == Opcode::kOpcodeTransferData) {
uint64_t id_inserted;
uint64_t id_inserted{0};
err = db_client__->Insert(col_name, message_meta, false, &id_inserted);
if (!err) {
log__->Debug(std::string{"insert record id "} + std::to_string(id_inserted) + " to " + col_name + " in " +
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment