mariadb/mysql-test/suite/innodb/t/innodb_28867993.test
Marko Mäkelä 3b06415cb8 Clean up log resizing
log_t::rename_resized(): Replaces create_log_file_rename()

delete_log_files(): Moved to a separate function. Also invoked
on a normal startup when the log is not being resized, to
remove any garbage log files.

create_log_file(): Remove the std::string& parameter.

os_file_delete_if_exists_func() [_WIN32]: Do not retry DeleteFile()
on ERROR_ACCESS_DENIED.
2022-02-14 19:49:54 +02:00

16 lines
450 B
Text

#
# Bug#28867993: POSSIBLE ISSUE WITH MYSQL SERVER RESTART
#
source include/have_innodb.inc;
create table t1 (a int) engine=innodb;
insert t1 values (1),(2);
create database ib_logfile2;
--disable_query_log
call mtr.add_suppression("InnoDB: Operating system error number ");
call mtr.add_suppression("InnoDB: Error number .* means ");
--enable_query_log
source include/restart_mysqld.inc;
select * from t1;
drop table t1;
drop database ib_logfile2;