Remove warning from perfschema.bad_option_# tests

This commit is contained in:
Monty 2018-08-09 09:28:36 +03:00
parent cf7b48ffc9
commit 5e1bbf66f1
5 changed files with 10 additions and 0 deletions

View file

@ -5,8 +5,10 @@
--source include/have_perfschema.inc
let $outfile= $MYSQLTEST_VARDIR/tmp/bad_option_1.txt;
--disable_warnings
--error 0,1
--remove_file $outfile
--enable_warnings
--error 7
--exec $MYSQLD_BOOTSTRAP_CMD --loose-console --performance-schema-enabled=maybe > $outfile 2>&1

View file

@ -5,8 +5,10 @@
--source include/have_perfschema.inc
let $outfile= $MYSQLTEST_VARDIR/tmp/bad_option_2.txt;
--disable_warnings
--error 0,1
--remove_file $outfile
--enable_warnings
--error 3
--exec $MYSQLD_BOOTSTRAP_CMD --loose-console --enable-getopt-prefix-matching --performance-schema-max_=12 > $outfile 2>&1
--let SEARCH_PATTERN=ambiguous option '--performance-schema-max_=12'

View file

@ -5,8 +5,10 @@
--source include/have_perfschema.inc
let $outfile= $MYSQLTEST_VARDIR/tmp/bad_option_3.txt;
--disable_warnings
--error 0,1
--remove_file $outfile
--enable_warnings
--error 2
--exec $MYSQLD_BOOTSTRAP_CMD --loose-console -a -x > $outfile 2>&1

View file

@ -5,8 +5,10 @@
--source include/have_perfschema.inc
let $outfile= $MYSQLTEST_VARDIR/tmp/bad_option_4.txt;
--disable_warnings
--error 0,1
--remove_file $outfile
--enable_warnings
--error 1
--exec $MYSQLD_BOOTSTRAP_CMD --loose-console -a -h bad_option_h_param > $outfile 2>&1

View file

@ -5,8 +5,10 @@
--source include/have_perfschema.inc
let $outfile= $MYSQLTEST_VARDIR/tmp/bad_option_5.txt;
--disable_warnings
--error 0,1
--remove_file $outfile
--enable_warnings
--error 2
--exec $MYSQLD_BOOTSTRAP_CMD --loose-console -aXbroken > $outfile 2>&1