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

Method val_real

sql/item_func.cc:218–223  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216
217
218double Item_int_func::val_real()
219{
220 DBUG_ASSERT(fixed == 1);
221
222 return unsigned_flag ? (double) ((ulonglong) val_int()) : (double) val_int();
223}
224
225
226String *Item_int_func::val_str(String *str)

Callers 2

get_argumentsMethod · 0.45
val_intMethod · 0.45

Calls 7

val_intFunction · 0.85
val_decimalFunction · 0.85
my_decimal2doubleFunction · 0.85
my_atofFunction · 0.85
valMethod · 0.80
result_typeMethod · 0.45
val_decimalMethod · 0.45

Tested by

no test coverage detected