Bug #6877 | MySQL should give an error if the requested table type is not available | ||
---|---|---|---|
Submitted: | 29 Nov 2004 15:40 | Modified: | 20 Jun 2005 22:28 |
Reporter: | Heikki Tuuri | Email Updates: | |
Status: | Closed | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 5.0 | OS: | Any (All) |
Assigned to: | Antony Curtis | CPU Architecture: | Any |
[29 Nov 2004 15:40]
Heikki Tuuri
[20 May 2005 16:38]
Antony Curtis
Patch committed - bk commit - 4.1 tree (acurtis:1.2282) BUG#6877
[23 May 2005 21:46]
Michael Widenius
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.mysql.com/documentation/ and the instructions on how to report a bug at http://bugs.mysql.com/how-to-report.php Additional info: We should NOT by default give any errors if the requested engine doesn't exist. Doing so, would make life harder for MySQL users, as they following things wouldn't work: - One could not do a mysqldump and restore to a MySQL server without the requested table type. - One could not have slaves that used MyISAM tables instead of InnoDB tables In 4.1 and 5.0 we give a warning when MySQL uses another table engine, so any users using the MySQL client or GUI client should notice the problem when they create a table. The reason we still get a lot of questions on the email list is probably mostly because everyone hasn't yet switched to 4.1 and 5.0 :) I have now replied to Antony's patch and suggested some things to do it better (and more compatible with the current release)
[6 Jun 2005 16:39]
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: http://lists.mysql.com/internals/25660
[15 Jun 2005 11:29]
Michael Widenius
Ok to push in 5.0 after changes described in review
[17 Jun 2005 21:14]
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: http://lists.mysql.com/internals/26143
[17 Jun 2005 23:10]
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 http://www.mysql.com/doc/en/Installing_source_tree.html Additional info: Pushed to 5.0.8 repository
[17 Jun 2005 23:11]
Antony Curtis
New SQL_MODE - NO_ENGINE_SUBSTITUTION Prevents automatic substitution of storage engine when the requested storage engine is disabled or not compiled in.
[20 Jun 2005 22:28]
Mike Hillyer
Documented in 5.0.8 changelog and SQL_MODE section of refman.