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

Method SetConstFormat

storage/connect/value.cpp:1222–1230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1220/***********************************************************************/
1221template <class TYPE>
1222bool TYPVAL<TYPE>::SetConstFormat(PGLOBAL g, FORMAT& fmt)
1223{
1224 char c[32];
1225
1226 fmt.Type[0] = *GetFormatType(Type);
1227 fmt.Length = snprintf(c, sizeof(c), Fmt, Tval);
1228 fmt.Prec = Prec;
1229 return false;
1230} // end of SetConstFormat
1231
1232/* -------------------------- Class STRING --------------------------- */
1233

Callers 1

SetFormatFunction · 0.80

Calls 1

GetFormatTypeFunction · 0.85

Tested by

no test coverage detected