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

Function sortcmp

sql/sql_string.cc:853–856  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

851
852
853int sortcmp(const Binary_string *s, const Binary_string *t, CHARSET_INFO *cs)
854{
855 return cs->strnncollsp(s->ptr(), s->length(), t->ptr(), t->length());
856}
857
858
859/*

Callers 15

func_leastFunction · 0.85
func_greatestFunction · 0.85
assoc_array_tree_cmpFunction · 0.85
compare_stringMethod · 0.85
compare_e_stringMethod · 0.85
val_int_cmp_stringMethod · 0.85
sortcmp2Function · 0.85
addMethod · 0.85
val_str_nativeMethod · 0.85
val_intMethod · 0.85
cmpMethod · 0.85
cmp_read_onlyMethod · 0.85

Calls 3

strnncollspMethod · 0.80
ptrMethod · 0.45
lengthMethod · 0.45

Tested by 2

func_leastFunction · 0.68
func_greatestFunction · 0.68