MCPcopy Create free account
hub / github.com/MariaDB/server / store_float

Method store_float

sql/protocol.cc:1582–1590  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1580
1581
1582bool Protocol_text::store_float(float from, uint32 decimals)
1583{
1584#ifndef DBUG_OFF
1585 DBUG_ASSERT(valid_handler(field_pos, PROTOCOL_SEND_FLOAT));
1586 field_pos++;
1587#endif
1588 Float(from).to_string(&buffer, decimals);
1589 return store_numeric_string_aux(buffer.ptr(), buffer.length());
1590}
1591
1592
1593bool Protocol_text::store_double(double from, uint32 decimals)

Callers 2

Item_send_floatMethod · 0.45
sendMethod · 0.45

Calls 5

FloatClass · 0.70
to_stringMethod · 0.45
ptrMethod · 0.45
lengthMethod · 0.45
prep_appendMethod · 0.45

Tested by

no test coverage detected