MCPcopy Create free account
hub / github.com/Meituan-Dianping/SQLAdvisor / update_charset

Method update_charset

sql/sql_class.cc:1262–1280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1260*/
1261
1262void THD::update_charset()
1263{
1264 uint32 not_used;
1265 charset_is_system_charset=
1266 !String::needs_conversion(0,
1267 variables.character_set_client,
1268 system_charset_info,
1269 &not_used);
1270 charset_is_collation_connection=
1271 !String::needs_conversion(0,
1272 variables.character_set_client,
1273 variables.collation_connection,
1274 &not_used);
1275 charset_is_character_set_filesystem=
1276 !String::needs_conversion(0,
1277 variables.character_set_client,
1278 variables.character_set_filesystem,
1279 &not_used);
1280}
1281
1282/*
1283 Register an item tree tree transformation, performed by the query

Callers 3

change_envMethod · 0.80
updateMethod · 0.80
fix_thd_charsetFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected