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

Method copy_casedn

sql/sql_string.h:978–986  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

976 return false;
977 }
978 bool copy_casedn(CHARSET_INFO *cs, const LEX_CSTRING &str)
979 {
980 size_t nbytes= str.length * cs->casedn_multiply();
981 DBUG_ASSERT(nbytes + 1 <= UINT_MAX32);
982 if (alloc(nbytes))
983 return true;
984 str_length= (uint32) cs->casedn_z(str.str, str.length, Ptr, nbytes + 1);
985 return false;
986 }
987 bool copy_caseup(CHARSET_INFO *cs, const LEX_CSTRING &str)
988 {
989 size_t nbytes= str.length * cs->caseup_multiply();

Callers 15

func_lowerFunction · 0.80
show_status_arrayFunction · 0.80
mysql_change_dbFunction · 0.80
set_thd_dbFunction · 0.80
Alter_table_ctxMethod · 0.80
find_field_in_tablesFunction · 0.80
insert_fieldsFunction · 0.80
find_field_in_group_listFunction · 0.80
mysql_grantFunction · 0.80

Calls 2

casedn_multiplyMethod · 0.80
casedn_zMethod · 0.80

Tested by 1

func_lowerFunction · 0.64