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

Function int2my_decimal

sql/my_decimal.h:430–436  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

428
429
430inline
431int int2my_decimal(uint mask, longlong i, my_bool unsigned_flag, my_decimal *d)
432{
433 return check_result(mask, (unsigned_flag ?
434 ulonglong2decimal((ulonglong)i, d) :
435 longlong2decimal(i, d)));
436}
437
438
439inline

Callers 5

val_decimalMethod · 0.85
lldiv_t2my_decimalFunction · 0.85
val_decimal_from_intMethod · 0.85
val_decimalMethod · 0.85
Item_decimalMethod · 0.85

Calls 3

check_resultFunction · 0.85
ulonglong2decimalFunction · 0.85
longlong2decimalFunction · 0.85

Tested by

no test coverage detected