mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Bug #21099 MySQL 5.0.22 silently creates MyISAM tables even though
InnoDB specified. NO_ENGINE_SUBSTITUTION added to TRADITIONAL sql mode to prevent silent conversions from InnoDB to MyISAM in that sql mode. A number of test case results files updated to reflect this change. Test added to sql_mode.test that checks that TRADITIONAL really includes NO_ENGINE_SUBSTITUION.
This commit is contained in:
@ -506,6 +506,12 @@ mysqltest_32753@localhost
|
||||
set session sql_mode=@OLD_SQL_MODE;
|
||||
flush privileges;
|
||||
drop user mysqltest_32753@localhost;
|
||||
SET @org_mode=@@sql_mode;
|
||||
SET @@sql_mode='traditional';
|
||||
SELECT @@sql_mode LIKE '%NO_ENGINE_SUBSTITUTION%';
|
||||
@@sql_mode LIKE '%NO_ENGINE_SUBSTITUTION%'
|
||||
1
|
||||
SET sql_mode=@org_mode;
|
||||
DROP TABLE IF EXISTS t1,t2;
|
||||
CREATE USER 'user_PCTFL'@'localhost' identified by 'PWD';
|
||||
CREATE USER 'user_no_PCTFL'@'localhost' identified by 'PWD';
|
||||
|
Reference in New Issue
Block a user