json partial update placeholder
This commit is contained in:
4
deps/oblib/src/common/object/ob_object.h
vendored
4
deps/oblib/src/common/object/ob_object.h
vendored
@ -515,6 +515,7 @@ struct ObLobDataOutRowCtx
|
|||||||
WRITE,
|
WRITE,
|
||||||
ERASE,
|
ERASE,
|
||||||
EMPTY_SQL, // lob col not change in full sql update, out row ctx is empty
|
EMPTY_SQL, // lob col not change in full sql update, out row ctx is empty
|
||||||
|
DIFF,
|
||||||
};
|
};
|
||||||
ObLobDataOutRowCtx()
|
ObLobDataOutRowCtx()
|
||||||
: is_full_(0), op_(0), offset_(0), check_sum_(0), seq_no_st_(0), seq_no_cnt_(0),
|
: is_full_(0), op_(0), offset_(0), check_sum_(0), seq_no_st_(0), seq_no_cnt_(0),
|
||||||
@ -530,7 +531,8 @@ struct ObLobDataOutRowCtx
|
|||||||
uint32_t seq_no_cnt_;
|
uint32_t seq_no_cnt_;
|
||||||
uint32_t del_seq_no_cnt_; // for sql update
|
uint32_t del_seq_no_cnt_; // for sql update
|
||||||
uint64_t modified_len_;
|
uint64_t modified_len_;
|
||||||
uint32_t first_meta_offset_;
|
uint32_t first_meta_offset_ : 24;
|
||||||
|
uint32_t chunk_size_ : 8; // unit is kb
|
||||||
};
|
};
|
||||||
|
|
||||||
struct ObLobData
|
struct ObLobData
|
||||||
|
|||||||
2
deps/oblib/src/lib/json_type/ob_json_bin.h
vendored
2
deps/oblib/src/lib/json_type/ob_json_bin.h
vendored
@ -75,6 +75,8 @@ enum ObJBVerType:uint8_t {
|
|||||||
J_OTIMESTAMPTZ_V0 = 27,
|
J_OTIMESTAMPTZ_V0 = 27,
|
||||||
J_ODAYSECOND_V0 = 28,
|
J_ODAYSECOND_V0 = 28,
|
||||||
J_OYEARMONTH_V0 = 29,
|
J_OYEARMONTH_V0 = 29,
|
||||||
|
J_DOC_HEADER_V0 = 30,
|
||||||
|
J_FORWARD_V0 = 31,
|
||||||
|
|
||||||
J_ERROR_V0 = 200
|
J_ERROR_V0 = 200
|
||||||
};
|
};
|
||||||
|
|||||||
@ -228,6 +228,7 @@ struct ObLobDiff
|
|||||||
WRITE = 2,
|
WRITE = 2,
|
||||||
ERASE = 3,
|
ERASE = 3,
|
||||||
ERASE_FILL_ZERO = 4,
|
ERASE_FILL_ZERO = 4,
|
||||||
|
WRITE_DIFF = 5,
|
||||||
};
|
};
|
||||||
ObLobDiff()
|
ObLobDiff()
|
||||||
: type_(DiffType::INVALID), ori_offset_(0), ori_len_(0), offset_(0), byte_len_(0), dst_offset_(0), dst_len_(0),
|
: type_(DiffType::INVALID), ori_offset_(0), ori_len_(0), offset_(0), byte_len_(0), dst_offset_(0), dst_len_(0),
|
||||||
|
|||||||
@ -103,6 +103,7 @@ enum class MutatorType
|
|||||||
{
|
{
|
||||||
MUTATOR_ROW = 0,
|
MUTATOR_ROW = 0,
|
||||||
MUTATOR_TABLE_LOCK = 1,
|
MUTATOR_TABLE_LOCK = 1,
|
||||||
|
MUTATOR_ROW_EXT_INFO = 2,
|
||||||
};
|
};
|
||||||
|
|
||||||
const char * get_mutator_type_str(MutatorType mutator_type);
|
const char * get_mutator_type_str(MutatorType mutator_type);
|
||||||
|
|||||||
Reference in New Issue
Block a user