MCPcopy Create free account
hub / github.com/acl-dev/acl / run_cmd

Method run_cmd

lib_acl_cpp/src/redis/redis_transaction.cpp:106–116  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

104}
105
106bool redis_transaction::run_cmd(const char* cmd, const char* argv[],
107 const size_t lens[], size_t argc)
108{
109 build(cmd, NULL, argv, lens, argc);
110 if (!check_status("QUEUED")) {
111 return false;
112 }
113
114 cmds_.push_back(cmd);
115 return true;
116}
117
118bool redis_transaction::run_cmd(const char* cmd,
119 const std::vector<string>& args)

Callers 1

test_run_cmdsFunction · 0.80

Calls 2

buildFunction · 0.50
push_backMethod · 0.45

Tested by 1

test_run_cmdsFunction · 0.64