提交 9432dd83 编写于 作者: O obdev 提交者: wangzelin.wzl

BUGFIX: update the same value, row affect is not zero. reserved_random assignment in JsonBinHeader.

上级 36f843f3
...@@ -70,6 +70,15 @@ typedef struct ObJsonBinKeyDict { ...@@ -70,6 +70,15 @@ typedef struct ObJsonBinKeyDict {
} ObJsonBinKeyDict; } ObJsonBinKeyDict;
typedef struct ObJsonBinHeader { typedef struct ObJsonBinHeader {
ObJsonBinHeader()
: type_(0),
entry_size_(0),
count_size_(0),
obj_size_size_(0),
is_continuous_(0),
reserved_(0)
{
}
uint8_t type_; // node type for current node uint8_t type_; // node type for current node
uint8_t entry_size_ : 2; // the size describe var size of key_entry, val_entry uint8_t entry_size_ : 2; // the size describe var size of key_entry, val_entry
uint8_t count_size_ : 2; // the size describe var size of element count uint8_t count_size_ : 2; // the size describe var size of element count
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册