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

Method val_int

sql/item_func.h:1051–1055  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1049 List<Item> &list)
1050 :Item_udf_func(udf_arg, list) {}
1051 longlong val_int()
1052 {
1053 DBUG_ASSERT(fixed == 1);
1054 return (longlong) rint(Item_func_udf_float::val_real());
1055 }
1056 my_decimal *val_decimal(my_decimal *dec_buf)
1057 {
1058 double res=val_real();

Callers

nothing calls this directly

Calls 2

rintFunction · 0.85
val_realFunction · 0.85

Tested by

no test coverage detected