mirror of
https://gitee.com/acl-dev/acl.git
synced 2024-11-30 10:57:34 +08:00
redis: fixed one bug in redis_hash::hmset
This commit is contained in:
parent
bc4f60a2d3
commit
284a672677
@ -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 事件方式支持线程级
|
||||
或协程级的互斥功能
|
||||
|
@ -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();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user