1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-29 05:21:33 +03:00

@@old_mode=zero_date_time_cast

This commit is contained in:
Sergei Golubchik
2014-03-07 21:05:28 +01:00
parent 68916bcab3
commit 12f54d7de0
8 changed files with 26 additions and 13 deletions

View File

@ -22,6 +22,7 @@ Id User Host db Command Time State Info
#
# MDEV-5372 Make "CAST(time_expr AS DATETIME)" compatible with the SQL Standard)
#
set @@old_mode=zero_date_time_cast;
SELECT CAST(TIME'-10:30:30' AS DATETIME);
CAST(TIME'-10:30:30' AS DATETIME)
NULL