summaryrefslogtreecommitdiff
path: root/mysql-test/t/func_time.test
diff options
context:
space:
mode:
authorunknown <ramil/ram@mysql.com/ramil.myoffice.izhnet.ru>2007-03-05 12:04:37 +0400
committerunknown <ramil/ram@mysql.com/ramil.myoffice.izhnet.ru>2007-03-05 12:04:37 +0400
commita6c2de6067fd27b479a284c1b5fecfbd527155aa (patch)
treed2584464ee7467773e52bba65f5ae4063f6a9daa /mysql-test/t/func_time.test
parent81c3505967461a0848fb3c06a12b3bf1371a4f2f (diff)
parent7fc2a2a765f976bd0ee7a5c965d33b429aba1a52 (diff)
downloadmariadb-git-a6c2de6067fd27b479a284c1b5fecfbd527155aa.tar.gz
Merge rkalimullin@bk-internal.mysql.com:/home/bk/mysql-5.0-maint
into mysql.com:/home/ram/work/b23616/b23616.5.0 mysql-test/r/func_time.result: Auto merged mysql-test/t/func_time.test: Auto merged sql-common/my_time.c: Auto merged
Diffstat (limited to 'mysql-test/t/func_time.test')
-rw-r--r--mysql-test/t/func_time.test7
1 files changed, 7 insertions, 0 deletions
diff --git a/mysql-test/t/func_time.test b/mysql-test/t/func_time.test
index ab904b187a3..e08a7edb2bf 100644
--- a/mysql-test/t/func_time.test
+++ b/mysql-test/t/func_time.test
@@ -570,6 +570,13 @@ union
select last_day('0000-00-00');
+#
+# Bug 23616: datetime functions with double argumets
+#
+
+select isnull(week(now() + 0)), isnull(week(now() + 0.2)),
+ week(20061108), week(20061108.01), week(20061108085411.000002);
+
--echo End of 4.1 tests
explain extended select timestampdiff(SQL_TSI_WEEK, '2001-02-01', '2001-05-01') as a1,