1
0
mirror of https://github.com/MariaDB/server.git synced 2025-09-11 05:52:26 +03:00

Merge polly.local:/tmp/maint/bug20293/my50-bug20293

into  polly.local:/tmp/maint/bug20293/my51-bug20293
This commit is contained in:
kaa@polly.local
2007-03-06 20:35:25 +03:00
2 changed files with 12 additions and 0 deletions

View File

@@ -692,6 +692,14 @@ set time_zone= @@global.time_zone;
#
select str_to_date('10:00 PM', '%h:%i %p') + INTERVAL 10 MINUTE;
#
# Bug #20293: group by cuts off value from time_format
#
# Check if using GROUP BY with TIME_FORMAT() produces correct results
SELECT TIME_FORMAT(SEC_TO_TIME(a),"%H:%i:%s") FROM (SELECT 3020399 AS a UNION SELECT 3020398 ) x GROUP BY 1;
--echo End of 5.0 tests
#