tidb-incubator / weir

Apache License 2.0
97 stars 40 forks source link

fix: SET NAMES execute error in backend conn #36

Closed teckick closed 3 years ago

teckick commented 3 years ago

What problem does this PR solve?

when execute "SET NAMES utf8mb4", the SQL is parsed and then restored in backend conn. But the restore flag is set to uppercase mode, so that the SetNAMES value cannot be correctly handled by the restore function.