Bug #38920 | Increasing innodb_log_file_size silently disables InnoDB Engine | ||
---|---|---|---|
Submitted: | 20 Aug 2008 16:09 | Modified: | 1 Aug 2009 7:00 |
Reporter: | Tammo Schuelke | Email Updates: | |
Status: | Verified | Impact on me: | |
Category: | MySQL Server | Severity: | S4 (Feature request) |
Version: | 5.0.32-7etch6 | OS: | Linux (Debian etch) |
Assigned to: | CPU Architecture: | Any |
[20 Aug 2008 16:09]
Tammo Schuelke
[20 Aug 2008 16:35]
MySQL Verification Team
Thank you for the bug report. Could you please read: http://dev.mysql.com/doc/refman/5.0/en/server-sql-mode.html "# NO_ENGINE_SUBSTITUTION Control automatic substitution of the default storage engine when a statement such as CREATE TABLE or ALTER TABLE specifies a storage engine that is disabled or not compiled in. (Implemented in MySQL 5.0.8) With NO_ENGINE_SUBSTITUTION disabled, the default engine is used and a warning occurs if the desired engine is known but disabled or not compiled in. If the desired engine is invalid (not a known engine name), an error occurs and the table is not created or altered. With NO_ENGINE_SUBSTITUTION enabled, an error occurs and the table is not created or altered if the desired engine is unavailable for any reason (whether disabled or invalid)."
[21 Aug 2008 9:56]
Tammo Schuelke
This should clearly be a default in my opinion, or there should be an ENGINE_SUBSTITUTION mode instead so it stops with an error by default. Also, --show-warnings should be a default. I also wonder why the transactions didn't fail in the first place? BEGIN/COMMIT/ROLLBACK were just silently skipped.
[1 Aug 2009 7:00]
Sveta Smirnova
Thank you for the feedback. This can be verified as "Make NO_ENGINE_SUBSTITUTION enabled by default and make show-warnings enabled by default" Although this can break applications which rely on current behavior.