[MDEV-11305] MariDB 10.2.2 errno: 140 "Wrong create options", when creating an innodb Table with 'ROW_FORMAT=FIXED' options Created: 2016-11-18 Updated: 2016-11-19 Resolved: 2016-11-19 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | Documentation, Storage Engine - InnoDB |
| Affects Version/s: | 10.2.2 |
| Fix Version/s: | N/A |
| Type: | Bug | Priority: | Major |
| Reporter: | Francisco Dueñas | Assignee: | Ian Gilfillan |
| Resolution: | Not a Bug | Votes: | 0 |
| Labels: | innodb | ||
| Environment: |
Windows 2012 server |
||
| Description |
|
When trying to create an innodb table with this settings CREATE TABLE `__syssequences` ( Can't create table `ezgobx`.`__syssequences` (errno: 140 "Wrong create options") If I remove ROW_FORMAT=FIXED or set ROW_FORMAT=DEFAULT it works perfect. I used that creation option in mysql 5.6 wihout issues |
| Comments |
| Comment by Elena Stepanova [ 2016-11-18 ] | ||||||||||||||||||||||||||
|
InnoDB does not have ROW_FORMAT FIXED. It didn't have it in MySQL 5.6 either. However, in InnoDB 5.6 (both in MySQL 5.6 and MariaDB 10.0/10.1) innodb_strict_mode=0 by default, that's why the CREATE statement simply issued a warning and assumed COMPACT format instead.
In InnoDB 5.7 (both in MySQL 5.7 and MariaDB 10.2) innodb_strict_mode=1 by default, so both of them fail to create a table with the wrong ROW_FORMAT. greenman, | ||||||||||||||||||||||||||
| Comment by Ian Gilfillan [ 2016-11-19 ] | ||||||||||||||||||||||||||
|
I have added some detail to the CREATE TABLE page, and, probably more importantly, highlighted the strict mode change on the 10.2.2 release notes page. Also discovered the rather obscure bug I reported at https://jira.mariadb.org/browse/MDEV-11316 as a result. Closed as not a bug, as the behaviour described in the original report is expected with the change to the default strict mode. |