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

Method swap

sql/sql_string.cc:1089–1096  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1087*/
1088
1089void String::swap(String &s)
1090{
1091 swap_variables(char *, Ptr, s.Ptr);
1092 swap_variables(uint32, str_length, s.str_length);
1093 swap_variables(uint32, Alloced_length, s.Alloced_length);
1094 swap_variables(bool, alloced, s.alloced);
1095 swap_variables(const CHARSET_INFO *, str_charset, s.str_charset);
1096}
1097
1098
1099/**

Callers 2

convert_stringMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected