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

Function set_max_time

sql-common/my_time.c:92–97  ·  view source on GitHub ↗

Set MYSQL_TIME variable to maximum time value @param tm OUT The variable to set. @param neg Sign: 1 if negative, 0 if positive. */

Source from the content-addressed store, hash-verified

90 @param neg Sign: 1 if negative, 0 if positive.
91*/
92void set_max_time(MYSQL_TIME *tm, my_bool neg)
93{
94 set_zero_time(tm, MYSQL_TIMESTAMP_TIME);
95 set_max_hhmmss(tm);
96 tm->neg= neg;
97}
98
99
100/**

Callers 1

number_to_timeFunction · 0.85

Calls 2

set_zero_timeFunction · 0.85
set_max_hhmmssFunction · 0.85

Tested by

no test coverage detected