Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
*/
505
inline
506
int my_decimal_cmp(const my_decimal *a, const my_decimal *b)
507
{
508
return decimal_cmp(a, b);
509
}
510
511
512
inline
Callers
2
compare_decimal
Method · 0.85
compare_e_decimal
Method · 0.85
Calls
1
decimal_cmp
Function · 0.85
Tested by
no test coverage detected