Commit bafa88c8 authored by antirez's avatar antirez
Browse files

stupid bug fixed

parent 9b24d8ad
......@@ -356,7 +356,7 @@ void vmThreadedIOCompletedJob(aeEventLoop *el, int fd, void *privdata,
*
* So we set a negative cache entry avoiding that the
* resumed client will block load what does not exist... */
if (dictFind(j->db->dict,j->key) == NULL &&
if (dictFind(j->db->dict,j->key->ptr) == NULL &&
(cacheScheduleIOGetFlags(j->db,j->key) &
(REDIS_IO_SAVE|REDIS_IO_SAVEINPROG)) == 0)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment