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

Function non_zero_date

sql/sql_time.h:247–251  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

245}
246
247static inline bool
248non_zero_date(const MYSQL_TIME *ltime)
249{
250 return ltime->year || ltime->month || ltime->day;
251}
252
253static inline bool
254non_zero_time(const MYSQL_TIME *ltime)

Callers 2

get_dateMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected