MySQL 9.1.0
Source Code Documentation
my_time_t.h File Reference

Go to the source code of this file.

Classes

struct  my_timeval
 Replacement of system's struct timeval to ensure we can carry 64 bit values even on a platform which has 64 bits time, but only 32 bits tv_sec member, notably Windows. More...
 

Typedefs

using my_time_t = int64_t
 Portable time_t replacement. More...
 

Typedef Documentation

◆ my_time_t

using my_time_t = int64_t

Portable time_t replacement.

Should be signed and hold seconds for 1970-01-01 00:00:00 – 3001-01-18 23:59:59 on an OS with 64 bits time_t. On OSes with 32 bits time_t, the values will be constrained further.