Shield sensitive information in sql_audit.

This commit is contained in:
bx0
2021-11-02 14:14:13 +08:00
committed by LINxiansheng
parent c4933ab1b9
commit e55c1cfb1b
9 changed files with 52 additions and 10 deletions

View File

@ -209,7 +209,7 @@ private:
int do_real_prepare(const ObString& stmt, ObSqlCtx& context, ObResultSet& result, bool is_inner_sql);
int do_add_ps_cache(const ObString& sql, int64_t param_cnt, share::schema::ObSchemaGetterGuard& schema_guard,
stmt::StmtType stmt_type, ObResultSet& result, bool is_inner_sql);
stmt::StmtType stmt_type, ObResultSet& result, bool is_inner_sql, bool is_sensitive_sql);
int fill_result_set(ObResultSet& result, ObSqlCtx* context, const bool is_ps_mode, ObStmt& stmt);