1
0
mirror of https://github.com/MariaDB/server.git synced 2025-05-31 08:42:45 +03:00
Alexander Barkov 6f65931f88 MDEV-19906 Port show_old_temporals from MySQL 5.6
Old temporal data types (created with a pre-10.0 version of MariaDB)
are now displayed with a /* mariadb-5.3 */ comment in:

- SHOW CREATE TABLE
- DESCRIBE
- INFORMATION_SCHEMA.COLUMNS.COLUMN_TYPE

For example:

CREATE TABLE `t1` (
  `t0` datetime /* mariadb-5.3 */ DEFAULT NULL,
  `t6` datetime(6) /* mariadb-5.3 */ DEFAULT NULL
) ENGINE=MyISAM DEFAULT CHARSET=latin1

Note, new temporal data types are displayed without a format comment.
2020-01-17 07:16:36 +04:00
..
2019-03-01 12:41:05 -05:00
2019-05-13 17:54:04 +03:00
2010-10-01 15:32:03 +02:00
2006-12-06 21:47:29 +04:00
2007-12-23 11:18:46 +02:00
2007-12-23 11:18:46 +02:00
2008-03-28 23:39:47 +03:00
2011-03-08 09:41:57 +01:00
2019-03-01 12:41:05 -05:00
2009-10-12 11:22:53 +05:00
2017-07-18 14:59:33 +02:00
2019-03-01 12:41:05 -05:00
2019-03-01 12:41:05 -05:00
2019-03-01 12:41:05 -05:00