Merge branch 'unstable' of github.com:antirez/redis into unstable

This commit is contained in:
antirez 2013-02-15 16:45:04 +01:00
commit 522c3255db

View File

@ -384,15 +384,12 @@ robj *hashTypeCurrentObject(hashTypeIterator *hi, int what) {
} else { } else {
dst = createStringObjectFromLongLong(vll); dst = createStringObjectFromLongLong(vll);
} }
} else if (hi->encoding == REDIS_ENCODING_HT) { } else if (hi->encoding == REDIS_ENCODING_HT) {
hashTypeCurrentFromHashTable(hi, what, &dst); hashTypeCurrentFromHashTable(hi, what, &dst);
incrRefCount(dst); incrRefCount(dst);
} else { } else {
redisPanic("Unknown hash encoding"); redisPanic("Unknown hash encoding");
} }
return dst; return dst;
} }