0xsky / xredis

Redis C++ client, support the data slice storage, support redis cluster, thread-safe,multi-platform,connection pool, read/write separation.
GNU General Public License v3.0
337 stars 153 forks source link

smove bug #47

Closed philipyao closed 5 years ago

philipyao commented 5 years ago

bool xRedisClient::smove(const RedisDBIdx& dbi, const KEY& srckey, const KEY& deskey, const VALUE& member){ if (0==srckey.length()) { return false; } SETDEFAULTIOTYPE(MASTER); return command_bool(dbi, "SMOVE %s", srckey.c_str(), deskey.c_str(), member.c_str()); }

SMOVE这里少了2个 %s

0xsky commented 5 years ago

你修改下,提交个fix上来?

0xsky commented 5 years ago

have fixed