1
0
mirror of https://github.com/MariaDB/server.git synced 2025-12-24 11:21:21 +03:00

Fixed test failures with embedded server

mysql-test/mysql-test-run.pl:
  Don't set --log-error when running embedded server as we don't want the mysqltest output into mysqld.1.err
sql/mysqld.cc:
  Allow one to disable --log-error
This commit is contained in:
Michael Widenius
2011-03-28 12:49:20 +03:00
parent 6058b9ea0a
commit b20efbb119
2 changed files with 4 additions and 1 deletions

View File

@@ -1397,6 +1397,9 @@ sub command_line_setup {
# Turn off use of bin log
push(@opt_extra_mysqld_opt, "--skip-log-bin");
# Write errors to stderr, not to mysqld.1.err
push(@opt_extra_mysqld_opt, "--disable-log-error");
if ( using_extern() )
{
mtr_error("Can't use --extern with --embedded-server");