mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge linux-st28.site:/home/martin/mysql/src/bug31160/my50-bug31160
into linux-st28.site:/home/martin/mysql/src/bug31160/my51-bug31160 mysql-test/r/func_sapdb.result: Auto merged mysql-test/r/func_time.result: Auto merged sql/item_timefunc.h: Auto merged mysql-test/t/func_time.test: SCCS merged
This commit is contained in:
@ -1027,6 +1027,15 @@ fmtddate field2
|
||||
Sep-4 12:00AM abcd
|
||||
DROP TABLE testBug8868;
|
||||
SET NAMES DEFAULT;
|
||||
CREATE TABLE t1 (
|
||||
a TIMESTAMP
|
||||
);
|
||||
INSERT INTO t1 VALUES (now()), (now());
|
||||
SELECT 1 FROM t1 ORDER BY MAKETIME(1, 1, a);
|
||||
1
|
||||
1
|
||||
1
|
||||
DROP TABLE t1;
|
||||
(select time_format(timediff(now(), DATE_SUB(now(),INTERVAL 5 DAY)),'%H') As H)
|
||||
union
|
||||
(select time_format(timediff(now(), DATE_SUB(now(),INTERVAL 5 DAY)),'%H') As H);
|
||||
|
Reference in New Issue
Block a user