mirror of
https://github.com/MariaDB/server.git
synced 2025-08-01 03:47:19 +03:00
Fixed default_storage_engine.test
The bug was that the script tried to start mysqld while there was already a running mysqld server. Fixed by killing the running one.
This commit is contained in:
@ -5,6 +5,8 @@ if (`SELECT COUNT(*) = 0 FROM INFORMATION_SCHEMA.PLUGINS WHERE PLUGIN_NAME = 'in
|
||||
|
||||
let $cmd=`select replace("$MYSQLD_BOOTSTRAP_CMD --skip-innodb", " --default-storage-engine=myisam", "")`;
|
||||
|
||||
--source include/kill_mysqld.inc
|
||||
|
||||
#
|
||||
# Now it *must* fail, because if InnoDB is compiled in, it is used as a default
|
||||
# storage engine. but $cmd includes --skip-innodb
|
||||
@ -14,3 +16,4 @@ exec $cmd;
|
||||
|
||||
echo "all ok"; # to not have zero-length result file
|
||||
|
||||
--source include/start_mysqld.inc
|
||||
|
Reference in New Issue
Block a user