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

Method ErrConvString

sql/sql_error.cc:842–848  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

840
841
842ErrConvString::ErrConvString(double nr)
843{
844 // enough to print '-[digits].E+###'
845 DBUG_ASSERT(sizeof(err_buffer) > DBL_DIG + 8);
846 buf_length= my_gcvt(nr, MY_GCVT_ARG_DOUBLE,
847 sizeof(err_buffer) - 1, err_buffer, NULL);
848}
849
850
851

Callers

nothing calls this directly

Calls 3

my_gcvtFunction · 0.85
decimal2stringFunction · 0.85
my_TIME_to_strFunction · 0.70

Tested by

no test coverage detected