Bug #17196 --default-storage-engine option broken
Submitted: 7 Feb 2006 16:51 Modified: 1 Mar 2006 23:33
Reporter: Kristian Nielsen Email Updates:
Status: Closed Impact on me:
Category:MySQL Server Severity:S1 (Critical)
Version:5.1.6 OS:
Assigned to: Antony Curtis CPU Architecture:Any

[7 Feb 2006 16:51] Kristian Nielsen
The --default-storage-engine option does not seem to work.

$ ../sql/mysqld --default-storage-engine=myisam
Unknown/unsupported table type: myisam

$ ../sql/mysqld --default-storage-engine=heap
060207 17:48:34 [ERROR] Can't find messagefile '/usr/local/mysql/share/mysql/english/errmsg.sys'
060207 17:48:34 [ERROR] Aborting

So the myisam and innodb engines (for example) cannot be specified, the heap engine can.

How to repeat:
run mysqld --default-storage-engine=myisam
[7 Feb 2006 21:40] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

[1 Mar 2006 23:33] Antony Curtis
Thank you for your bug report. This issue has been committed to our
source repository of that product and will be incorporated into the
next release.

If necessary, you can access the source repository and build the latest
available version, including the bugfix, yourself. More information 
about accessing the source trees is available at

Additional info:

pushed by kent to 5.1 repo on 2006-02-07