Bug #34671 No error message for invalid storage engine entry.
| Submitted: | 19 Feb 2008 16:54 | Modified: | 19 Feb 2008 19:11 |
|---|---|---|---|
| Reporter: | Hema Sridharan | Email Updates: | |
| Status: | Not a Bug | Impact on me: | |
| Category: | Tests: Engine | Severity: | S3 (Non-critical) |
| Version: | 6.0.5-alpha-debug | OS: | Any |
| Assigned to: | CPU Architecture: | Any |
[19 Feb 2008 16:54]
Hema Sridharan
[19 Feb 2008 19:11]
MySQL Verification Team
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://dev.mysql.com/doc/ and the instructions on how to report a bug at http://bugs.mysql.com/how-to-report.php http://dev.mysql.com/doc/refman/6.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. Because storage engines can be pluggable at runtime, unavailable engines are treated the same way: With NO_ENGINE_SUBSTITUTION disabled, for CREATE TABLE the default engine is used and a warning occurs if the desired engine is unavailable. For ALTER TABLE, a warning occurs and the table is not altered. With NO_ENGINE_SUBSTITUTION enabled, an error occurs and the table is not created or altered if the desired engine is unavailable." mysql> set sql_mode=NO_ENGINE_SUBSTITUTION; Query OK, 0 rows affected (0.03 sec) mysql> create table bt7(C1 int,C2 char)engine=yyyyyy; ERROR 1286 (42000): Unknown table engine 'yyyyyy' mysql>
Portions of this website are copyright © 2001, 2002 The PHP Group
Page generated in 0.040 sec. using MySQL 8.4.7-u6-cloud
Timestamp references displayed by the system are UTC.
Content reproduced on this site is the property of the
respective copyright holders.
It is not reviewed in advance
by Oracle and does not necessarily represent the opinion of
Oracle or any other party.