mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-12-03 12:28:49 +08:00
rename randmkey to randomkey in redis_key
This commit is contained in:
parent
85374450d0
commit
1e99026a6e
@ -308,7 +308,7 @@ public:
|
||||
* @return {bool} 操作是否成功,当出错或 key 不存在时返回 false
|
||||
* true on success, or false be returned
|
||||
*/
|
||||
bool randmkey(string& buf);
|
||||
bool randomkey(string& buf);
|
||||
|
||||
/**
|
||||
* 将 key 改名为 newkey
|
||||
|
@ -299,7 +299,7 @@ long long int redis_key::pttl(const char* key)
|
||||
return ret;
|
||||
}
|
||||
|
||||
bool redis_key::randmkey(string& buf)
|
||||
bool redis_key::randomkey(string& buf)
|
||||
{
|
||||
const char* argv[1];
|
||||
size_t lens[1];
|
||||
|
Loading…
Reference in New Issue
Block a user