[CP] [CP][to #44746355]fix size overflow when reconstruct sql

This commit is contained in:
seuwebber
2022-12-29 10:45:38 +00:00
committed by ob-robot
parent 46b0f9b176
commit a2610ab94c
2 changed files with 125 additions and 74 deletions

View File

@ -364,6 +364,13 @@ public:
static int reconstruct_sql(ObIAllocator &allocator, const ObStmt *stmt, ObString &sql,
ObObjPrintParams print_params = ObObjPrintParams());
static int print_sql(ObIAllocator &allocator,
char *buf,
int64_t buf_len,
const ObStmt *stmt,
ObString &sql,
ObObjPrintParams print_params);
static int wrap_expr_ctx(const stmt::StmtType &stmt_type,
ObExecContext &exec_ctx,