List:Commits« Previous MessageNext Message »
From:konstantin Date:July 16 2007 7:37pm
Subject:bk commit into 5.0 tree (kostja:1.2522) BUG#29050
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of kostja. When kostja does a push these changes will
be propagated to the main repository and, within 24 hours after the
push, to the public repository.
For information on how to access the public repository
see http://dev.mysql.com/doc/mysql/en/installing-source-tree.html

ChangeSet@stripped, 2007-07-16 23:37:02+04:00, kostja@bodhi.(none) +1 -0
  Bug#29050 Creation of a legal stored procedure fails if a database is not 
  selected prior: ensure the fix also works for information_schema
  tables.

  sql/sql_parse.cc@stripped, 2007-07-16 23:36:58+04:00, kostja@bodhi.(none) +1 -1
    Ensure the fix for Bug#29050 works for information_schema tables.

diff -Nrup a/sql/sql_parse.cc b/sql/sql_parse.cc
--- a/sql/sql_parse.cc	2007-07-12 22:26:38 +04:00
+++ b/sql/sql_parse.cc	2007-07-16 23:36:58 +04:00
@@ -2272,7 +2272,7 @@ int prepare_schema_table(THD *thd, LEX *
     DBUG_RETURN(1);
 #else
     if (lex->select_lex.db == NULL &&
-        thd->copy_db_to(&lex->select_lex.db, NULL))
+        lex->copy_db_to(&lex->select_lex.db, NULL))
     {
       DBUG_RETURN(1);
     }
Thread
bk commit into 5.0 tree (kostja:1.2522) BUG#29050konstantin16 Jul