Skip to content

Commit

Permalink
code format
Browse files Browse the repository at this point in the history
  • Loading branch information
Mixficsol committed Aug 19, 2024
1 parent c13b629 commit 10243a4
Show file tree
Hide file tree
Showing 5 changed files with 2 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/client.cc
Original file line number Diff line number Diff line change
Expand Up @@ -555,7 +555,6 @@ bool PClient::Exec() {
}

if (IsFlagOn(kClientFlagDirty)) {
message_.clear();
message_ = "$-1\r\n";
return true;
}
Expand Down
1 change: 0 additions & 1 deletion src/client.h
Original file line number Diff line number Diff line change
Expand Up @@ -294,7 +294,6 @@ class PClient : public std::enable_shared_from_this<PClient>, public CmdRes {
time_t last_auth_ = 0;

ClientState state_;
UnboundedBuffer reply_;
uint64_t net_id_ = 0;
int8_t net_thread_index_ = 0;
net::SocketAddr addr_;
Expand Down
1 change: 0 additions & 1 deletion src/cmd_kv.cc
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ void SetCmd::DoCmd(PClient* client) {
break;
}

std::cout << "B" << std::endl;
if (s.ok() || s.IsNotFound()) {
if (res == 1) {
client->SetRes(CmdRes::kOK);
Expand Down
2 changes: 1 addition & 1 deletion tests/assets/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ logfile stdout
# Set the number of databases. The default database is DB 0, you can select
# a different one on a per-connection basis using SELECT <dbid> where
# dbid is a number between 0 and 'databases'-1
databases 6
databases 16

################################ SNAPSHOTTING #################################
#
Expand Down
2 changes: 1 addition & 1 deletion tests/test_helper.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ set ::all_tests {
# unit/printver
unit/basic
# unit/scan
# unit/multi
unit/multi
unit/quit
# unit/type/list
# unit/pubsub
Expand Down

0 comments on commit 10243a4

Please sign in to comment.