summaryrefslogtreecommitdiff
path: root/mysql-test/std_data
diff options
context:
space:
mode:
authorunknown <dlenev@mysql.com>2004-11-03 17:59:03 +0000
committerunknown <dlenev@mysql.com>2004-11-03 17:59:03 +0000
commitd259ba4006a683e953486191d2851ee6c63f66b7 (patch)
tree19189bd6aebd643a3d14a5e47ce221a80424acb9 /mysql-test/std_data
parent9c06c80dff5744ac0b1d214404c9d16f752e41bb (diff)
downloadmariadb-git-d259ba4006a683e953486191d2851ee6c63f66b7.tar.gz
Fix for bug #6387 "Queried timestamp values do not match the inserted
value if server runs in time zone with leap seconds". Now in my_gmt_sec() function we take into account difference between our target and estimation in seconds part. mysql-test/Makefile.am: Added mysql-test/std_data/Moscow_leap reuired by new timezone3.test to source distribution. sql/time.cc: my_gmt_sec(): When comparing our target broken-down datetime t value and proper representation of our estimation *l_time we should take into account that they could differ in second part if we have time zone leap seconds. Also added comments about some assumptions used in this function.
Diffstat (limited to 'mysql-test/std_data')
-rw-r--r--mysql-test/std_data/Moscow_leapbin0 -> 991 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/mysql-test/std_data/Moscow_leap b/mysql-test/std_data/Moscow_leap
new file mode 100644
index 00000000000..4994c005595
--- /dev/null
+++ b/mysql-test/std_data/Moscow_leap
Binary files differ