| 180 | NO_MUTEX_GUARD, IN_BINLOG, ON_CHECK(check_charset_db)); |
| 181 | |
| 182 | static bool check_cs_client(sys_var *self, THD *thd, set_var *var) |
| 183 | { |
| 184 | if (check_charset_not_null(self, thd, var)) |
| 185 | return true; |
| 186 | |
| 187 | // Currently, UCS-2 cannot be used as a client character set |
| 188 | if (((CHARSET_INFO *)(var->save_result.ptr))->mbminlen > 1) |
| 189 | return true; |
| 190 | |
| 191 | return false; |
| 192 | } |
| 193 | static bool fix_thd_charset(sys_var *self, THD *thd, enum_var_type type) |
| 194 | { |
| 195 | if (type == OPT_SESSION) |
nothing calls this directly
no test coverage detected