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

Method val_real

sql/item.h:2303–2307  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2301 Item_hex_string(const char *str,uint str_length);
2302 enum Type type() const { return VARBIN_ITEM; }
2303 double val_real()
2304 {
2305 DBUG_ASSERT(fixed == 1);
2306 return (double) (ulonglong) Item_hex_string::val_int();
2307 }
2308 longlong val_int();
2309 bool basic_const_item() const { return 1; }
2310 String *val_str(String*) { DBUG_ASSERT(fixed == 1); return &str_value; }

Callers

nothing calls this directly

Calls 1

val_intFunction · 0.85

Tested by

no test coverage detected