redis: fixed one bug in redis_hash::hmset

This commit is contained in:
zhengshuxin 2017-10-27 00:05:28 +08:00
parent bc4f60a2d3
commit 284a672677
2 changed files with 4 additions and 1 deletions

View File

@ -1,6 +1,9 @@
修改历史列表:
-----------------------------------------------------------------------
497) 2017.10.26
497.1) bugfix: redis_hash.cpp 中当调用 hmset 命令时有一处填写了错误的命令字
496) 2017.10.6
496.1) feature: 添加新类 event_mutex该类以原子操作 + IO 事件方式支持线程级
或协程级的互斥功能

View File

@ -63,7 +63,7 @@ bool redis_hash::hmset(const char* key, const std::vector<const char*>& names,
acl_assert(names.size() == values.size());
hash_slot(key);
build("HMGET", key, names, values);
build("HMSET", key, names, values);
return check_status();
}