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

Method Time

sql/sql_type.cc:988–994  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

986
987
988Time::Time(const Native &native)
989{
990 uint dec= binary_length_to_precision(native.length());
991 longlong tmp= my_time_packed_from_binary((const uchar *) native.ptr(), dec);
992 TIME_from_longlong_time_packed(this, tmp);
993 DBUG_ASSERT(is_valid_time());
994}
995
996
997Time::Time(int *warn, const MYSQL_TIME *from, long curdays)

Callers

nothing calls this directly

Calls 7

set_zero_timeFunction · 0.85
lengthMethod · 0.45
ptrMethod · 0.45
secMethod · 0.45
usecMethod · 0.45

Tested by

no test coverage detected