diff options
author | Alexander Barkov <bar@mariadb.com> | 2018-12-06 17:40:28 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.com> | 2018-12-06 17:40:28 +0400 |
commit | e8611ac162fe5be0220f310576a48f8b6f350afa (patch) | |
tree | 5a3a98c7e1ef8f7590b901117210e853c62efc51 /sql/structs.h | |
parent | bb9b4182e41ea940ca9f7b5f5e7a9877450f4682 (diff) | |
download | mariadb-git-bb-10.4-mdev13648.tar.gz |
MDEV-13995 MAX(timestamp) returns a wrong result near DST changebb-10.4-mdev13648
Diffstat (limited to 'sql/structs.h')
-rw-r--r-- | sql/structs.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sql/structs.h b/sql/structs.h index dec1e4de0c7..8728dee1918 100644 --- a/sql/structs.h +++ b/sql/structs.h @@ -847,12 +847,17 @@ public: class Timeval: public timeval { +protected: + Timeval() { } public: Timeval(my_time_t sec, ulong usec) { tv_sec= sec; tv_usec= usec; } + explicit Timeval(const timeval &tv) + :timeval(tv) + { } }; |