1--source include/not_embedded.inc
2if (`SELECT COUNT(*) = 0 FROM INFORMATION_SCHEMA.PLUGINS WHERE PLUGIN_NAME = 'innodb' AND PLUGIN_LIBRARY IS NULL`)
3{
4  --skip Requires built-in InnoDB.
5}
6
7let $cmd=`select replace("$MYSQLD_BOOTSTRAP_CMD --skip-innodb", " --default-storage-engine=myisam", "")`;
8
9--source include/kill_mysqld.inc
10
11#
12# Now it *must* fail, because if InnoDB is compiled in, it is used as a default
13# storage engine. but $cmd includes --skip-innodb
14#
15error 1;
16exec $cmd;
17
18echo "all ok"; # to not have zero-length result file
19
20--source include/start_mysqld.inc
21