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

Method store_longlong

sql/protocol.cc:1556–1567  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1554
1555
1556bool Protocol_text::store_longlong(longlong from, bool unsigned_flag)
1557{
1558#ifndef DBUG_OFF
1559 DBUG_ASSERT(valid_handler(field_pos, PROTOCOL_SEND_LONGLONG));
1560 field_pos++;
1561#endif
1562 char buff[22];
1563 size_t length= (size_t) (longlong10_to_str(from, buff,
1564 unsigned_flag ? 10 : -10) -
1565 buff);
1566 return store_numeric_string_aux(buff, length);
1567}
1568
1569
1570bool Protocol_text::store_decimal(const my_decimal *d)

Callers 4

Item_send_longlongMethod · 0.45
xa_recover_callbackFunction · 0.45
sendMethod · 0.45

Calls 3

longlong10_to_strFunction · 0.85
int8storeFunction · 0.85
prep_appendMethod · 0.45

Tested by

no test coverage detected