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

Method store_longlong

sql/protocol.cc:836–848  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

834
835
836bool Protocol_text::store_longlong(longlong from, bool unsigned_flag)
837{
838#ifndef DBUG_OFF
839 DBUG_ASSERT(field_types == 0 ||
840 field_types[field_pos] == MYSQL_TYPE_LONGLONG);
841 field_pos++;
842#endif
843 char buff[22];
844 return net_store_data((uchar*) buff,
845 (size_t) (longlong10_to_str(from,buff,
846 unsigned_flag ? 10 : -10)-
847 buff));
848}
849
850
851bool Protocol_text::store_decimal(const my_decimal *d)

Callers

nothing calls this directly

Calls 3

net_store_dataFunction · 0.85
longlong10_to_strFunction · 0.85
prep_appendMethod · 0.80

Tested by

no test coverage detected