mirror of
https://github.com/MariaDB/server.git
synced 2025-02-10 15:35:34 +01:00
![Marko Mäkelä](/assets/img/avatar_default.png)
dict_create_or_check_foreign_constraint_tables(): Change the warning about the foreign key metadata table creation to a note. Remove messages after metadata table creation. If the creation fails, startup will abort with a message. Normally the creation succeeds on bootstrap, and the messages would only be noise. Remove the related suppressions from the tests.
25 lines
805 B
PHP
25 lines
805 B
PHP
#
|
|
# few innodb tests depend on innodb tablespace being completelty clean and new
|
|
#
|
|
# this file deletes old innodb files and restarts mysqld
|
|
#
|
|
source include/not_embedded.inc;
|
|
|
|
--disable_query_log
|
|
let $innodb_index_stats = query_get_value(show create table mysql.innodb_index_stats, Create Table, 1);
|
|
let $innodb_table_stats = query_get_value(show create table mysql.innodb_table_stats, Create Table, 1);
|
|
let $database=`select database()`;
|
|
drop table mysql.innodb_index_stats, mysql.innodb_table_stats;
|
|
|
|
let $datadir= `SELECT @@datadir`;
|
|
--source include/shutdown_mysqld.inc
|
|
remove_files_wildcard $datadir ib_logfile*;
|
|
remove_file $datadir/ibdata1;
|
|
--source include/start_mysqld.inc
|
|
|
|
--disable_query_log
|
|
use mysql;
|
|
eval $innodb_table_stats;
|
|
eval $innodb_index_stats;
|
|
eval use $database;
|
|
--enable_query_log
|