[MDEV-6243] mysql_install_db or mysql_upgrade fails when default_engine=archive Created: 2014-05-15 Updated: 2014-06-06 Resolved: 2014-06-06 |
|
| Status: | Closed |
| Project: | MariaDB Server |
| Component/s: | None |
| Affects Version/s: | 10.0.11 |
| Fix Version/s: | 10.0.12 |
| Type: | Bug | Priority: | Critical |
| Reporter: | Kristian Nielsen | Assignee: | Sergei Golubchik |
| Resolution: | Fixed | Votes: | 0 |
| Labels: | gtid | ||
| Description |
|
User `akv' reported on IRC the problem. The my.cnf has default engine set to archive. When mysql_install_db or mysql_upgrade runs, it tries to create the "Specified key was too long; max key length is 8 bytes" But archive can in any case not be used as the storage engine for On hindsight it seems like a pretty bad idea to create the So I think we need a better way to determine the default engine for I see there is already other code that checks if InnoDB is available and |