[CP][BUGFIX] add fix zero lob val
This commit is contained in:
@ -251,6 +251,17 @@ private:
|
||||
DISALLOW_COPY_AND_ASSIGN(ObJsonExprHelper);
|
||||
};
|
||||
|
||||
struct ObJsonZeroVal
|
||||
{
|
||||
static const int32_t OB_JSON_ZERO_VAL_LENGTH = sizeof(ObLobCommon) + 2;
|
||||
ObJsonZeroVal() : header_(), json_bin_() {
|
||||
json_bin_[0] = '\0';
|
||||
json_bin_[1] = '\0';
|
||||
}
|
||||
ObLobCommon header_;
|
||||
char json_bin_[4];
|
||||
};
|
||||
|
||||
} // sql
|
||||
} // oceanbase
|
||||
#endif // OCEANBASE_SQL_OB_EXPR_JSON_FUNC_HELPER_H_
|
||||
Reference in New Issue
Block a user