提交 c5c46705 编写于 作者: B bx0 提交者: LINGuanRen

Sql audit copy unreasonable in output phase

上级 9ff1baa3
......@@ -603,7 +603,7 @@ int ObGvSqlAudit::fill_cells(obmysql::ObMySQLRequestRecord& record)
} break;
// sql_id
case SQL_ID: {
if (!record.data_.is_executor_rpc_) {
if (OB_MAX_SQL_ID_LENGTH == strlen(record.data_.sql_id_) && !record.data_.is_executor_rpc_) {
cells[cell_idx].set_varchar(
record.data_.sql_id_, static_cast<ObString::obstr_size_t>(OB_MAX_SQL_ID_LENGTH));
} else {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册