Details
-
Type:
Bug
-
Status: Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 10.0.12
-
Fix Version/s: 10.1
-
Component/s: None
-
Labels:None
Description
mysql 5.6.17 (root) [test] db1> CREATE TABLE `t1` (
-> `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
-> `d` datetime DEFAULT NULL,
-> PRIMARY KEY (`id`)
-> ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
Query OK, 0 rows affected (0.11 sec)
mysql 5.6.17 (root) [test] db1> flush table t1 for export;
Query OK, 0 rows affected (0.01 sec)
mysql 5.5.5-10.0.12-MariaDB (root) [test] db1> CREATE TABLE `t1` (
-> `id` int(10) unsigned NOT NULL AUTO_INCREMENT,
-> `d` datetime DEFAULT NULL,
-> PRIMARY KEY (`id`)
-> ) ENGINE=InnoDB DEFAULT CHARSET=latin1
-> ;
Query OK, 0 rows affected (0.08 sec)
mysql 5.5.5-10.0.12-MariaDB (root) [test] db1> alter table t1 discard tablespace;
Query OK, 0 rows affected (0.01 sec)
mysql 5.5.5-10.0.12-MariaDB (root) [test] db1>
[2]+ Stopped mysql
[kolbe@centos6-build mariadb-10.0.12-linux-x86_64]$ cp ~/t1.{cfg,ibd} ./data/test/
[kolbe@centos6-build mariadb-10.0.12-linux-x86_64]$ fg
mysql
mysql 5.5.5-10.0.12-MariaDB (root) [test] db1>
mysql 5.5.5-10.0.12-MariaDB (root) [test] db1> alter table t1 import tablespace;
ERROR 1808 (HY000): Schema mismatch (Column d precise type mismatch.)
Gliffy Diagrams
Attachments
Issue Links
- is part of
-
MDEV-5377 Row-based replication of MariaDB temporal data types with FSP>0 into a different column type
-
- Open
-
Activity
- All
- Comments
- Work Log
- History
- Activity
- Transitions
It looks related to what Alexander Barkov is working on in scope of MDEV-5377.