mariadb/mysql-test/suite/maria/t/maria_showlog_error.test
Guilhem Bichot 704b4845aa merge of 5.1-main into 5.1-maria. Myisam->Maria change propagation will follow.
There were so many changes into mtr (this is the new mtr coming) that I rather
copied mtr from 6.0-main here (at least this one knows how to run Maria tests).
I also fixed suite/maria tests to be accepted by the new mtr.

mysys/thr_mutex.c:
  adding DBUG_PRINT here, so that we can locate where the warning is issued.
2009-02-12 15:08:56 +01:00

30 lines
764 B
Text

-- source include/have_maria.inc
# can't restart server in embedded
--source include/not_embedded.inc
# remove_file can't remove opened file under windows. So we can't reproduce
# the problem there
--source include/not_windows.inc
#
# BUG#41127 test suite
#
connect (admin, localhost, root,,test,,);
--enable_reconnect
connection default;
--enable_reconnect
# cleunup before this test
-- source include/maria_empty_logs.inc
connection default;
let MYSQLD_DATADIR= `select @@datadir`;
remove_file $MYSQLD_DATADIR/$MARIA_LOG/maria_log.00000001;
--replace_regex /Size unknown ; .*maria_log.00000001/Size unknown ; maria_log.00000001/
show engine maria logs;
# cleunup after this test
-- source include/maria_empty_logs.inc
disconnect admin;
connection default;