This is a wrapper whose behavior depends on the Redis lazy free * configuration. Deletes the key synchronously or asynchronously. */
| 521 | /* This is a wrapper whose behavior depends on the Redis lazy free |
| 522 | * configuration. Deletes the key synchronously or asynchronously. */ |
| 523 | int dbDelete(redisDb *db, robj *key) { |
| 524 | return g_pserver->lazyfree_lazy_server_del ? dbAsyncDelete(db,key) : |
| 525 | dbSyncDelete(db,key); |
| 526 | } |
| 527 | |
| 528 | /* Prepare the string object stored at 'key' to be modified destructively |
| 529 | * to implement commands like SETBIT or APPEND. |
no test coverage detected