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

Method store_double

sql/protocol.cc:1593–1601  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1591
1592
1593bool Protocol_text::store_double(double from, uint32 decimals)
1594{
1595#ifndef DBUG_OFF
1596 DBUG_ASSERT(valid_handler(field_pos, PROTOCOL_SEND_DOUBLE));
1597 field_pos++;
1598#endif
1599 buffer.set_real(from, decimals, thd->charset());
1600 return store_numeric_string_aux(buffer.ptr(), buffer.length());
1601}
1602
1603
1604bool Protocol_text::store(Field *field)

Callers 4

mysqld_list_processesFunction · 0.45
Item_send_doubleMethod · 0.45
sendMethod · 0.45
show_profilesMethod · 0.45

Calls 5

set_realMethod · 0.45
charsetMethod · 0.45
ptrMethod · 0.45
lengthMethod · 0.45
prep_appendMethod · 0.45

Tested by

no test coverage detected