From d259ba4006a683e953486191d2851ee6c63f66b7 Mon Sep 17 00:00:00 2001 From: unknown Date: Wed, 3 Nov 2004 17:59:03 +0000 Subject: 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. --- mysql-test/std_data/Moscow_leap | Bin 0 -> 991 bytes 1 file changed, 0 insertions(+), 0 deletions(-) create mode 100644 mysql-test/std_data/Moscow_leap (limited to 'mysql-test/std_data') diff --git a/mysql-test/std_data/Moscow_leap b/mysql-test/std_data/Moscow_leap new file mode 100644 index 00000000000..4994c005595 Binary files /dev/null and b/mysql-test/std_data/Moscow_leap differ -- cgit v1.2.1