| 165 | NO_MUTEX_GUARD, IN_BINLOG, ON_CHECK(check_charset_not_null)); |
| 166 | |
| 167 | static bool check_charset_db(sys_var *self, THD *thd, set_var *var) |
| 168 | { |
| 169 | if (check_charset_not_null(self, thd, var)) |
| 170 | return true; |
| 171 | if (!var->value) // = DEFAULT |
| 172 | var->save_result.ptr= thd->db_charset; |
| 173 | return false; |
| 174 | } |
| 175 | static Sys_var_struct Sys_character_set_database( |
| 176 | "character_set_database", |
| 177 | " The character set used by the default database", |
nothing calls this directly
no test coverage detected