diff options
author | Alexander Barkov <bar@mariadb.com> | 2020-01-16 13:29:29 +0400 |
---|---|---|
committer | Alexander Barkov <bar@mariadb.com> | 2020-01-17 07:16:36 +0400 |
commit | 6f65931f889cf920bf52c2debeadc9f559ff687b (patch) | |
tree | 3076961cfe8c010ec045a3ad705b06ddf5efdbbb /mysql-test/std_data | |
parent | e7558d4760d20f7b5480ee2eb3ab7d710d1784b1 (diff) | |
download | mariadb-git-6f65931f889cf920bf52c2debeadc9f559ff687b.tar.gz |
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.
Diffstat (limited to 'mysql-test/std_data')
-rw-r--r-- | mysql-test/std_data/mariadb53_temporal/mariadb5312_datetime.frm | bin | 0 -> 8712 bytes |
-rw-r--r-- | mysql-test/std_data/mariadb53_temporal/mariadb5312_time.frm | bin | 0 -> 8712 bytes |
-rw-r--r-- | mysql-test/std_data/mariadb53_temporal/mariadb5312_timestamp.frm | bin | 0 -> 8712 bytes |
3 files changed, 0 insertions, 0 deletions
diff --git a/mysql-test/std_data/mariadb53_temporal/mariadb5312_datetime.frm b/mysql-test/std_data/mariadb53_temporal/mariadb5312_datetime.frm Binary files differnew file mode 100644 index 00000000000..46ce80a4a08 --- /dev/null +++ b/mysql-test/std_data/mariadb53_temporal/mariadb5312_datetime.frm diff --git a/mysql-test/std_data/mariadb53_temporal/mariadb5312_time.frm b/mysql-test/std_data/mariadb53_temporal/mariadb5312_time.frm Binary files differnew file mode 100644 index 00000000000..4e466a45823 --- /dev/null +++ b/mysql-test/std_data/mariadb53_temporal/mariadb5312_time.frm diff --git a/mysql-test/std_data/mariadb53_temporal/mariadb5312_timestamp.frm b/mysql-test/std_data/mariadb53_temporal/mariadb5312_timestamp.frm Binary files differnew file mode 100644 index 00000000000..8fc153ae2f4 --- /dev/null +++ b/mysql-test/std_data/mariadb53_temporal/mariadb5312_timestamp.frm |