| 2874 | */ |
| 2875 | |
| 2876 | void THD::update_charset() |
| 2877 | { |
| 2878 | uint32 not_used; |
| 2879 | charset_is_system_charset= |
| 2880 | !String::needs_conversion(0, |
| 2881 | variables.character_set_client, |
| 2882 | system_charset_info, |
| 2883 | ¬_used); |
| 2884 | charset_is_collation_connection= |
| 2885 | !String::needs_conversion(0, |
| 2886 | variables.character_set_client, |
| 2887 | variables.collation_connection, |
| 2888 | ¬_used); |
| 2889 | charset_is_character_set_filesystem= |
| 2890 | !String::needs_conversion(0, |
| 2891 | variables.character_set_client, |
| 2892 | variables.character_set_filesystem, |
| 2893 | ¬_used); |
| 2894 | } |
| 2895 | |
| 2896 | void THD::give_protection_error() |
| 2897 | { |
no outgoing calls
no test coverage detected