From 6c85d6535781870e9d35a0f00ace9ef42edf3e90 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Magnus=20Bl=C3=A5udd?= Date: Fri, 4 Mar 2011 09:41:29 +0100 Subject: Bug#60111 storage type for table not saved in .frm - Add new "format section" in extra data segment with additional table and column properties. This was originally introduced in 5.1.20 based MySQL Cluster - Remove hardcoded STORAGE DISK for table and instead output the real storage format used. Keep both TABLESPACE and STORAGE inside same version guard. - Implement default version of handler::get_tablespace_name() since tablespace is now available in share and it's unnecessary for each handler to implement. (the function could actually be removed totally now). - Add test for combinations of TABLESPACE and STORAGE with CREATE TABLE and ALTER TABLE - Add test to show that 5.5 now can read a .frm file created by MySQL Cluster 7.0.22. Although it does not yet show the column level attributes, they are read. --- mysql-test/std_data/cluster_7022_table.MYD | 0 mysql-test/std_data/cluster_7022_table.MYI | Bin 0 -> 1024 bytes mysql-test/std_data/cluster_7022_table.frm | Bin 0 -> 8794 bytes 3 files changed, 0 insertions(+), 0 deletions(-) create mode 100644 mysql-test/std_data/cluster_7022_table.MYD create mode 100644 mysql-test/std_data/cluster_7022_table.MYI create mode 100644 mysql-test/std_data/cluster_7022_table.frm (limited to 'mysql-test/std_data') diff --git a/mysql-test/std_data/cluster_7022_table.MYD b/mysql-test/std_data/cluster_7022_table.MYD new file mode 100644 index 00000000000..e69de29bb2d diff --git a/mysql-test/std_data/cluster_7022_table.MYI b/mysql-test/std_data/cluster_7022_table.MYI new file mode 100644 index 00000000000..332b0e64797 Binary files /dev/null and b/mysql-test/std_data/cluster_7022_table.MYI differ diff --git a/mysql-test/std_data/cluster_7022_table.frm b/mysql-test/std_data/cluster_7022_table.frm new file mode 100644 index 00000000000..84714a1721a Binary files /dev/null and b/mysql-test/std_data/cluster_7022_table.frm differ -- cgit v1.2.1