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

Function string2my_decimal

sql/my_decimal.h:410–414  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

408
409#if defined(MYSQL_SERVER) || defined(EMBEDDED_LIBRARY)
410inline
411int string2my_decimal(uint mask, const String *str, my_decimal *d)
412{
413 return str2my_decimal(mask, str->ptr(), str->length(), str->charset(), d);
414}
415
416
417my_decimal *date2my_decimal(const MYSQL_TIME *ltime, my_decimal *dec);

Callers 2

val_decimalMethod · 0.85
val_decimalMethod · 0.85

Calls 4

str2my_decimalFunction · 0.70
ptrMethod · 0.45
lengthMethod · 0.45
charsetMethod · 0.45

Tested by

no test coverage detected