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

Function my_decimal_cmp

sql/my_decimal.h:505–509  ·  view source on GitHub ↗

@return -1 if a b and 0 if a==b */

Source from the content-addressed store, hash-verified

503 -1 if a<b, 1 if a>b and 0 if a==b
504*/
505inline
506int my_decimal_cmp(const my_decimal *a, const my_decimal *b)
507{
508 return decimal_cmp(a, b);
509}
510
511
512inline

Callers 2

compare_decimalMethod · 0.85
compare_e_decimalMethod · 0.85

Calls 1

decimal_cmpFunction · 0.85

Tested by

no test coverage detected