Skip to content

Commit

Permalink
fix cost to copy cmd_table by remove c_ptr
Browse files Browse the repository at this point in the history
  • Loading branch information
chenbt-hz committed Jul 2, 2024
1 parent 6b81628 commit 04e9306
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/pika_client_conn.cc
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,6 @@ void PikaClientConn::ProcessRedisCmds(const std::vector<net::RedisCmdArgsType>&
bool is_slow_cmd = g_pika_conf->is_slow_cmd(opt);
bool is_admin_cmd = g_pika_conf->is_admin_cmd(opt);
bool read_status = false;
std::shared_ptr<Cmd> c_ptr = g_pika_cmd_table_manager->GetCmd(opt);

if (PIKA_CACHE_NONE != g_pika_conf->cache_mode() && !IsInTxn() && interceptCmds.find(opt) != interceptCmds.end()){
// read in cache
Expand Down

0 comments on commit 04e9306

Please sign in to comment.