2023-03-09 11:32:18 +01:00
|
|
|
#
|
|
|
|
# test mysqld in bootstrap mode
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Check that --bootstrap reads from stdin
|
|
|
|
#
|
2018-08-02 17:59:11 +03:00
|
|
|
# Kill the server
|
2019-03-25 08:02:22 +02:00
|
|
|
# restart
|
2007-02-20 12:48:15 +01:00
|
|
|
drop table t1;
|
2023-03-09 11:32:18 +01:00
|
|
|
#
|
|
|
|
# Check that --bootstrap of file with SQL error returns error
|
|
|
|
#
|
2018-08-02 17:59:11 +03:00
|
|
|
# Kill the server
|
2019-03-25 08:02:22 +02:00
|
|
|
# restart
|
2007-02-20 12:48:15 +01:00
|
|
|
drop table t1;
|
2013-07-02 22:11:12 +03:00
|
|
|
ERROR 42S02: Unknown table 'test.t1'
|
2023-03-09 11:32:18 +01:00
|
|
|
#
|
|
|
|
# Bootstrap with a large thd->net.max_packet
|
|
|
|
#
|
2018-08-02 17:59:11 +03:00
|
|
|
# Kill the server
|
2019-03-25 08:02:22 +02:00
|
|
|
# restart
|
2007-02-20 12:48:15 +01:00
|
|
|
drop table t1;
|
2023-03-09 11:32:18 +01:00
|
|
|
#
|
|
|
|
# End of 5.1 tests
|
|
|
|
#
|
2011-03-23 19:03:42 +02:00
|
|
|
#
|
|
|
|
# Bug #11766306: 59393: HAVE_INNODB=YES WHEN MYSQLD
|
|
|
|
# STARTED WITH --SKIP-INNODB
|
|
|
|
#
|
2011-07-02 22:12:12 +02:00
|
|
|
SELECT 'bug' as '' FROM INFORMATION_SCHEMA.ENGINES WHERE engine='innodb'
|
|
|
|
and SUPPORT='YES';
|
|
|
|
|
2018-08-02 17:59:11 +03:00
|
|
|
# Kill the server
|
2023-03-09 11:32:18 +01:00
|
|
|
#
|
|
|
|
# MDEV-13063 Server crashes in intern_plugin_lock or assertion `plugin_ptr->ref_count == 1' fails in plugin_init
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# MDEV-19349 mysql_install_db: segfault at tmp_file_prefix check
|
|
|
|
#
|
2019-03-25 08:02:22 +02:00
|
|
|
# restart
|
2023-03-09 11:32:18 +01:00
|
|
|
#
|
|
|
|
# End of 5.5 tests
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# Check that --bootstrap can install and uninstall plugins
|
|
|
|
#
|
2018-08-02 17:59:11 +03:00
|
|
|
# Kill the server
|
2023-03-09 11:32:18 +01:00
|
|
|
#
|
|
|
|
# Check that installed plugins are *not* automatically loaded in --bootstrap
|
|
|
|
#
|
2019-03-25 08:02:22 +02:00
|
|
|
# restart
|
2015-05-03 11:51:22 +02:00
|
|
|
flush tables;
|
|
|
|
show create table t1;
|
|
|
|
Table Create Table
|
|
|
|
t1 CREATE TABLE `t1` (
|
|
|
|
`a` int(11) DEFAULT NULL
|
2022-09-02 17:32:14 +04:00
|
|
|
) ENGINE=MyISAM DEFAULT CHARSET=latin1 COLLATE=latin1_swedish_ci
|
2015-05-03 11:51:22 +02:00
|
|
|
drop table t1;
|
|
|
|
select * from mysql.plugin;
|
|
|
|
name dl
|
|
|
|
EXAMPLE ha_example.so
|
|
|
|
truncate table mysql.plugin;
|
2018-08-02 17:59:11 +03:00
|
|
|
# Kill the server
|
2022-06-09 18:27:59 +10:00
|
|
|
#
|
2023-03-09 11:32:18 +01:00
|
|
|
# MDEV-9969 mysql_install_db error processing ignore_db_dirs.
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# MDEV-13397 MariaDB upgrade fail when using default_time_zone
|
|
|
|
#
|
|
|
|
#
|
2023-03-09 11:22:41 +01:00
|
|
|
# MDEV-30818 invalid ssl prevents bootstrap
|
|
|
|
#
|
|
|
|
#
|
2023-03-09 11:32:18 +01:00
|
|
|
# End of 10.3 tests
|
|
|
|
#
|
2023-04-25 13:10:33 +03:00
|
|
|
#
|
2022-06-09 18:27:59 +10:00
|
|
|
# MDEV-28782 mariadb-tzinfo-to-sql to work in bootstrap mode
|
|
|
|
#
|
|
|
|
#
|
|
|
|
# End of 10.6 tests
|
|
|
|
#
|
2019-03-25 08:02:22 +02:00
|
|
|
# restart
|