MCPcopy Create free account
hub / github.com/MariaDB/server / update_charset

Method update_charset

sql/sql_class.cc:2876–2894  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2874*/
2875
2876void 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 &not_used);
2884 charset_is_collation_connection=
2885 !String::needs_conversion(0,
2886 variables.character_set_client,
2887 variables.collation_connection,
2888 &not_used);
2889 charset_is_character_set_filesystem=
2890 !String::needs_conversion(0,
2891 variables.character_set_client,
2892 variables.character_set_filesystem,
2893 &not_used);
2894}
2895
2896void THD::give_protection_error()
2897{

Callers 9

change_envMethod · 0.45
parse_vcol_defsFunction · 0.45
updateMethod · 0.45
sql_parse.ccFile · 0.45
fix_thd_charsetFunction · 0.45
thd_init_client_charsetFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected