List:Commits« Previous MessageNext Message »
From:Guilhem Bichot Date:June 5 2009 12:02pm
Subject:Re: bzr commit into mysql-6.0-perfschema branch (marc.alff:3156)
WL#4876
View as plain text  
A detail:

Guilhem Bichot a écrit, Le 05.06.2009 11:46:
> Here's a tested example which does what cmd_badline.test did:
> 
> # start server with bad option, output to file
> --exec $MYSQLD_BOOTSTRAP_CMD --performance-schema-enabled=maybe > 
> $MYSQLTEST_VARDIR/tmp/perfschema_options.txt 2>&1 || true
> # errors in output file can be parsed with Perl or LOAD DATA INFILE
> perl;
>     use strict;
>     use warnings;
>     my $fname= "$ENV{'MYSQLTEST_VARDIR'}/tmp/perfschema_options.txt";
>     open(FILE, "<", $fname) or die;
>     my @lines= <FILE>;
>     # those two must be in the file for the test to pass
>     my @patterns=
>       ("unknown variable 'performance-schema-enabled=maybe",

Sorry, --performance-schema-enabled is an old option name which doesn't 
exist anymore; my example should rather be testing something like:
--performance-schema-max-thread=A
(A being a wrong value).

-- 
Mr. Guilhem Bichot <guilhem@stripped>
Sun Microsystems / MySQL, Lead Software Engineer
Bordeaux, France
www.sun.com / www.mysql.com
Thread
bzr commit into mysql-6.0-perfschema branch (marc.alff:3156) WL#4876Marc Alff28 May
  • Re: bzr commit into mysql-6.0-perfschema branch (marc.alff:3156)WL#4876Guilhem Bichot2 Jun
    • Re: bzr commit into mysql-6.0-perfschema branch (marc.alff:3156)WL#4876Guilhem Bichot3 Jun
    • Re: bzr commit into mysql-6.0-perfschema branch (marc.alff:3156)WL#4876Marc Alff5 Jun
      • Re: bzr commit into mysql-6.0-perfschema branch (marc.alff:3156)WL#4876Guilhem Bichot5 Jun
        • Re: bzr commit into mysql-6.0-perfschema branch (marc.alff:3156)WL#4876Marc Alff5 Jun
          • Re: bzr commit into mysql-6.0-perfschema branch (marc.alff:3156)WL#4876Guilhem Bichot5 Jun
            • Re: bzr commit into mysql-6.0-perfschema branch (marc.alff:3156)WL#4876Guilhem Bichot5 Jun
            • Re: bzr commit into mysql-6.0-perfschema branch (marc.alff:3156)WL#4876Marc Alff31 Jul