Alexander Barkov
ed93e55bac
MDEV-5975 Prepared statements with DATE literals do not honor NO_ZERO_IN_DATE
2014-04-22 11:23:35 +04:00
Sergei Golubchik
73f4861575
MDEV-5969 Crash in prepared statement with NO_ZERO_IN_DATE and ROLLUP
...
MDEV-5971 Asymmetry between CAST(DATE'2001-00-00') to INT and TO CHAR in prepared statements
Consistently set maybe_null flag, even not-NULL temporal literal may become NULL
in the restrictive sql_mode.
2014-03-29 11:33:20 +01:00
Alexander Barkov
89e1715355
MDEV-5372 Make "CAST(time_expr AS DATETIME)" compatible with MySQL-5.6 (and the SQL Standard)
2014-03-07 00:21:25 +04:00
Alexander Barkov
c6d9c36f2c
An additional test for MDEV-4871 Temporal literals do not accept nanoseconds
2013-08-15 15:32:18 +04:00
Alexander Barkov
e9ca686137
MDEV-4871 Temporal literals do not accept nanoseconds
2013-08-15 15:24:34 +04:00
Sergei Golubchik
5f6380adde
10.0-base merge
2013-07-18 16:46:57 +02:00
Alexander Barkov
d98584f56a
Adding support for the SQL-standard temporal literals.
...
added:
mysql-test/r/temporal_literal.result
mysql-test/t/temporal_literal.test
modified:
client/mysqlbinlog.cc
include/my_time.h
mysql-test/r/cast.result
mysql-test/r/partition_innodb.result
mysql-test/t/cast.test
mysql-test/t/partition_innodb.test
sql-common/my_time.c
sql/field.cc
sql/item.cc
sql/item.h
sql/item_cmpfunc.cc
sql/item_create.cc
sql/item_create.h
sql/item_strfunc.cc
sql/item_timefunc.cc
sql/item_timefunc.h
sql/sql_select.cc
sql/sql_time.cc
sql/sql_time.h
sql/sql_yacc.yy
storage/spider/spd_db_mysql.cc
2013-07-10 12:12:27 +04:00