From b30970617b513934ab525e5a3e45e407a8493f7c Mon Sep 17 00:00:00 2001 From: tiancaiamao Date: Tue, 17 Oct 2023 09:21:32 +0800 Subject: [PATCH] Update pkg/sessionctx/variable/sysvar.go Co-authored-by: bb7133 --- pkg/sessionctx/variable/sysvar.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/sessionctx/variable/sysvar.go b/pkg/sessionctx/variable/sysvar.go index 75197f7f8ce8a..607b95f08554f 100644 --- a/pkg/sessionctx/variable/sysvar.go +++ b/pkg/sessionctx/variable/sysvar.go @@ -1120,7 +1120,7 @@ var defaultSysVars = []*SysVar{ // On tidbcloud dedicated cluster with the default configuration, if an user modify // @@global.require_secure_transport=on, he can not login the cluster anymore! // A workaround for this is making require_secure_transport read-only for that case. - // SEM(secure enhanced mode) is enabled by default with only that settings. + // SEM(security enhanced mode) is enabled by default with only that settings. cfg := config.GetGlobalConfig() if cfg.Security.EnableSEM { return "", errors.New("require_secure_transport can not be set to ON with SEM(security enhanced mode) enabled")