1
0
mirror of https://github.com/MariaDB/server.git synced 2026-01-06 05:22:24 +03:00

allow get_format(TIMESTAMP, ...) syntax

This commit is contained in:
unknown
2004-08-11 10:27:19 +02:00
parent ce4e83e31d
commit 8746d743a5
3 changed files with 11 additions and 4 deletions

View File

@@ -206,6 +206,7 @@ drop table t1;
select get_format(DATE, 'USA') as a;
select get_format(TIME, 'internal') as a;
select get_format(DATETIME, 'eur') as a;
select get_format(TIMESTAMP, 'eur') as a;
select get_format(DATE, 'TEST') as a;
select str_to_date('15-01-2001 12:59:59', GET_FORMAT(DATE,'USA'));