json partial update placeholder

This commit is contained in:
obdev
2024-02-06 19:51:37 +00:00
committed by ob-robot
parent 63d3019959
commit 21e9f55b3a
4 changed files with 7 additions and 1 deletions

View File

@ -515,6 +515,7 @@ struct ObLobDataOutRowCtx
WRITE,
ERASE,
EMPTY_SQL, // lob col not change in full sql update, out row ctx is empty
DIFF,
};
ObLobDataOutRowCtx()
: 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 del_seq_no_cnt_; // for sql update
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

View File

@ -75,6 +75,8 @@ enum ObJBVerType:uint8_t {
J_OTIMESTAMPTZ_V0 = 27,
J_ODAYSECOND_V0 = 28,
J_OYEARMONTH_V0 = 29,
J_DOC_HEADER_V0 = 30,
J_FORWARD_V0 = 31,
J_ERROR_V0 = 200
};

View File

@ -228,6 +228,7 @@ struct ObLobDiff
WRITE = 2,
ERASE = 3,
ERASE_FILL_ZERO = 4,
WRITE_DIFF = 5,
};
ObLobDiff()
: type_(DiffType::INVALID), ori_offset_(0), ori_len_(0), offset_(0), byte_len_(0), dst_offset_(0), dst_len_(0),

View File

@ -103,6 +103,7 @@ enum class MutatorType
{
MUTATOR_ROW = 0,
MUTATOR_TABLE_LOCK = 1,
MUTATOR_ROW_EXT_INFO = 2,
};
const char * get_mutator_type_str(MutatorType mutator_type);