List:Commits« Previous MessageNext Message »
From:Sergei Golubchik Date:September 27 2007 2:15pm
Subject:Re: bk commit into 5.1 tree (gluh:1.2556) BUG#30795
View as plain text  
Hi!

On Sep 17, gluh@stripped wrote:
> ChangeSet@stripped, 2007-09-17 14:24:59+05:00, gluh@stripped +3 -0
>   Bug#30795 Query on INFORMATION_SCHEMA.SCHEMATA, wrong result
>   skip the check of directory presence for 'information_schema' name

ok to push
 
> diff -Nrup a/sql/sql_show.cc b/sql/sql_show.cc
> --- a/sql/sql_show.cc	2007-08-28 05:23:41 +05:00
> +++ b/sql/sql_show.cc	2007-09-17 14:24:57 +05:00
> @@ -3320,7 +3320,8 @@ int fill_schema_schemata(THD *thd, TABLE
>    /*
>      If we have lookup db value we should check that the database exists
>    */
> -  if(lookup_field_vals.db_value.str && !lookup_field_vals.wild_db_value)
> +  if(lookup_field_vals.db_value.str && !lookup_field_vals.wild_db_value
> &&
> +     !with_i_schema)
>    {
>      char path[FN_REFLEN+16];
>      uint path_len;

Regards / Mit vielen Grüssen,
Sergei

-- 
   __  ___     ___ ____  __
  /  |/  /_ __/ __/ __ \/ /   Sergei Golubchik <serg@stripped>
 / /|_/ / // /\ \/ /_/ / /__  Principal Software Developer
/_/  /_/\_, /___/\___\_\___/  MySQL GmbH, Dachauer Str. 37, D-80335 München
       <___/                  Geschäftsführer: Kaj Arnö - HRB
München 162140
Thread
bk commit into 5.1 tree (gluh:1.2556) BUG#30795gluh17 Sep
  • Re: bk commit into 5.1 tree (gluh:1.2556) BUG#30795Sergei Golubchik27 Sep