1
0
mirror of https://github.com/MariaDB/server.git synced 2025-09-02 09:41:40 +03:00
Files
mariadb/mysql-test/suite/funcs_1/r
unknown bc4a456758 MDEV-452 Add full support for auto-initialized/updated timestamp and datetime
Generalized support for auto-updated and/or auto-initialized timestamp
and datetime columns. This patch is a reimplementation of MySQL's
"WL#5874: CURRENT_TIMESTAMP as DEFAULT for DATETIME columns". In order to
ease future merges, this implementation reused few function and variable
names from MySQL's patch, however the implementation is quite different.

TODO:
The only unresolved problem in this patch is the semantics of LOAD DATA for
TIMESTAMP and DATETIME columns in the cases when there are missing or NULL
columns. I couldn't fully comprehend the logic behind MySQL's behavior and
its relationship with their own documentation, so I left the results to be
more consistent with all other LOAD cases.

The problematic test cases can be seen by running the test file function_defaults,
and observing the test case differences. Those were left on purpose for discussion.
2012-10-17 15:43:56 +03:00
..
2011-12-12 23:58:40 +01:00
2011-12-12 23:58:40 +01:00
2011-12-12 23:58:40 +01:00
2011-12-12 23:58:40 +01:00
2012-08-09 17:22:00 +02:00
2010-07-09 15:40:38 +03:00
2011-10-19 21:45:18 +02:00
2011-10-19 21:45:18 +02:00
2011-10-19 21:45:18 +02:00
2011-10-19 21:45:18 +02:00
2008-03-07 20:18:14 +01:00
2011-10-19 21:45:18 +02:00
2008-03-07 20:18:14 +01:00
2010-08-05 18:38:06 +03:00
2010-11-25 18:17:28 +01:00
2011-10-19 21:45:18 +02:00
2010-01-11 18:47:27 -07:00
2011-12-12 23:58:40 +01:00
2008-06-16 20:39:58 +02:00
2010-11-25 18:17:28 +01:00
2010-11-25 18:17:28 +01:00
2011-10-19 21:45:18 +02:00
2011-10-19 21:45:18 +02:00
2008-06-16 20:39:58 +02:00
2010-11-25 18:17:28 +01:00
2011-10-19 21:45:18 +02:00
2008-06-16 20:39:58 +02:00
2010-11-25 18:17:28 +01:00
2011-12-12 23:58:40 +01:00
2011-12-12 23:58:40 +01:00
2011-12-12 23:58:40 +01:00
2011-12-12 23:58:40 +01:00
2012-08-09 17:22:00 +02:00
2011-12-12 23:58:40 +01:00
2011-12-12 23:58:40 +01:00
2011-12-12 23:58:40 +01:00
2011-12-12 23:58:40 +01:00
2011-10-19 21:45:18 +02:00
2011-10-19 21:45:18 +02:00
2012-08-09 17:22:00 +02:00