mirror of
https://github.com/fluencelabs/redis
synced 2025-07-03 10:51:33 +00:00
handled DEL command as a special optimized case for disk store
This commit is contained in:
@ -262,6 +262,10 @@ int dsDel(redisDb *db, robj *key) {
|
||||
}
|
||||
|
||||
int dsExists(redisDb *db, robj *key) {
|
||||
char buf[1024];
|
||||
|
||||
dsKeyToPath(db,buf,key);
|
||||
return access(buf,R_OK) == 0;
|
||||
}
|
||||
|
||||
int dsFlushDb(int dbid) {
|
||||
|
Reference in New Issue
Block a user