rename randmkey to randomkey in redis_key

This commit is contained in:
zhengshuxin 2019-09-20 18:40:16 +08:00
parent 85374450d0
commit 1e99026a6e
2 changed files with 2 additions and 2 deletions

View File

@ -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

View File

@ -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];