Skip to content

Commit 8382fdb

Browse files
authored
pkg/session: add binding operations to CRUCIAL OPERATION log (#57483)
close #57482
1 parent 153d5aa commit 8382fdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/session/session.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4092,7 +4092,7 @@ func logStmt(execStmt *executor.ExecStmt, s *session) {
40924092
case *ast.CreateUserStmt, *ast.DropUserStmt, *ast.AlterUserStmt, *ast.SetPwdStmt, *ast.GrantStmt,
40934093
*ast.RevokeStmt, *ast.AlterTableStmt, *ast.CreateDatabaseStmt, *ast.CreateTableStmt,
40944094
*ast.DropDatabaseStmt, *ast.DropTableStmt, *ast.RenameTableStmt, *ast.TruncateTableStmt,
4095-
*ast.RenameUserStmt:
4095+
*ast.RenameUserStmt, *ast.CreateBindingStmt, *ast.DropBindingStmt, *ast.SetBindingStmt:
40964096
isCrucial = true
40974097
}
40984098

0 commit comments

Comments
 (0)