Skip to content

Commit fb510d9

Browse files
committed
add cache invalidation
1 parent c0d84b7 commit fb510d9

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

sql/base_session.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -178,6 +178,9 @@ func (s *BaseSession) setSessVar(ctx *Context, sysVar SystemVariable, value inte
178178
}
179179
sysVarName := strings.ToLower(sysVar.GetName())
180180
s.systemVars[sysVarName] = svv
181+
if sysVarName == characterSetResultsSysVarName {
182+
s.charset = CharacterSet_Unspecified
183+
}
181184
return nil
182185
}
183186

0 commit comments

Comments
 (0)