Lazyfree: Hash converted to use plain SDS WIP 5.

This commit is contained in:
antirez
2015-09-23 10:34:53 +02:00
parent 36be34bb87
commit 97ba4e3886
3 changed files with 30 additions and 34 deletions

View File

@ -567,7 +567,7 @@ void hincrbyfloatCommand(client *c) {
if (hashTypeGetValue(o,c->argv[2]->ptr,&vstr,&vlen,&ll) == C_OK) {
if (vstr) {
if (string2d((char*)vstr,vlen,&value) == 0) {
addReplyError(c,"hash value is not an integer");
addReplyError(c,"hash value is not a float");
return;
}
} else {