Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
853
int 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_least
Function · 0.85
func_greatest
Function · 0.85
assoc_array_tree_cmp
Function · 0.85
compare_string
Method · 0.85
compare_e_string
Method · 0.85
val_int_cmp_string
Method · 0.85
sortcmp2
Function · 0.85
add
Method · 0.85
val_str_native
Method · 0.85
val_int
Method · 0.85
cmp
Method · 0.85
cmp_read_only
Method · 0.85
Calls
3
strnncollsp
Method · 0.80
ptr
Method · 0.45
length
Method · 0.45
Tested by
2
func_least
Function · 0.68
func_greatest
Function · 0.68