BUGFIX: update the same value, row affect is not zero. reserved_random assignment in JsonBinHeader.
This commit is contained in:
9
deps/oblib/src/lib/json_type/ob_json_bin.h
vendored
9
deps/oblib/src/lib/json_type/ob_json_bin.h
vendored
@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user