| 275 | ON_UPDATE(fix_thd_charset)); |
| 276 | |
| 277 | static bool check_collation_db(sys_var *self, THD *thd, set_var *var) |
| 278 | { |
| 279 | if (check_collation_not_null(self, thd, var)) |
| 280 | return true; |
| 281 | if (!var->value) // = DEFAULT |
| 282 | var->save_result.ptr= thd->db_charset; |
| 283 | return false; |
| 284 | } |
| 285 | static Sys_var_struct Sys_collation_database( |
| 286 | "collation_database", "The collation of the database " |
| 287 | "character set", |
nothing calls this directly
no test coverage detected