master placeholder sql audit stmt type
This commit is contained in:
@ -21,6 +21,7 @@
|
||||
#include "observer/omt/ob_multi_tenant.h"
|
||||
#include "observer/ob_server_struct.h"
|
||||
#include "share/rc/ob_tenant_base.h"
|
||||
#include "sql/resolver/ob_resolver_utils.h"
|
||||
|
||||
#include <algorithm> // std::sort
|
||||
|
||||
@ -1056,6 +1057,10 @@ int ObGvSqlAudit::fill_cells(obmysql::ObMySQLRequestRecord &record)
|
||||
case NETWORK_WAIT_TIME: {
|
||||
cells[cell_idx].set_null();
|
||||
} break;
|
||||
case STMT_TYPE: {
|
||||
cells[cell_idx].set_null();
|
||||
cells[cell_idx].set_default_collation_type();
|
||||
} break;
|
||||
default: {
|
||||
ret = OB_ERR_UNEXPECTED;
|
||||
SERVER_LOG(WARN, "invalid column id", K(ret), K(cell_idx), K(col_id));
|
||||
|
||||
Reference in New Issue
Block a user