diff options
author | Sergei Golubchik <serg@mariadb.org> | 2017-09-19 23:50:32 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2017-09-21 22:03:28 +0200 |
commit | f8a800bec81983910a96a5dc38f3aeb9b7528bce (patch) | |
tree | 7da12c2d4f832cbf6bf9774a6dbbab88feada0c1 /sql/field.h | |
parent | f4f48e06215fe6717865ccbe27ddc388a2cb86b8 (diff) | |
download | mariadb-git-f8a800bec81983910a96a5dc38f3aeb9b7528bce.tar.gz |
bugfix: copy timestamps correctly in INSERT...SELECT
don't do it via MYSQL_TIME, that conversion is lossy
around DST change dates.
Diffstat (limited to 'sql/field.h')
-rw-r--r-- | sql/field.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sql/field.h b/sql/field.h index 30f24ecc1bb..154037df767 100644 --- a/sql/field.h +++ b/sql/field.h @@ -2186,6 +2186,7 @@ public: int store(longlong nr, bool unsigned_val); int store_time_dec(MYSQL_TIME *ltime, uint dec); int store_decimal(const my_decimal *); + int store_timestamp(Field_timestamp *from); double val_real(void); longlong val_int(void); String *val_str(String*,String *); |