List:Commits« Previous MessageNext Message »
From:Alexander Nozdrin Date:August 31 2007 10:12pm
Subject:bk commit into 5.1 tree (anozdrin:1.2583)
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of alik. When alik 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-09-01 00:12:00+04:00, anozdrin@stripped +1 -0
  Eliminate compile warnings.

  sql/sp.cc@stripped, 2007-09-01 00:11:58+04:00, anozdrin@stripped +2 -1
    Eliminate compile warnings.

diff -Nrup a/sql/sp.cc b/sql/sp.cc
--- a/sql/sp.cc	2007-08-31 22:13:22 +04:00
+++ b/sql/sp.cc	2007-09-01 00:11:58 +04:00
@@ -576,6 +576,7 @@ db_load_routine(THD *thd, int type, sp_n
   if (mysql_opt_change_db(thd, &name->m_db, &saved_cur_db_name, TRUE,
                           &cur_db_changed))
   {
+    ret= SP_INTERNAL_ERROR;
     goto end;
   }
 
@@ -597,7 +598,7 @@ db_load_routine(THD *thd, int type, sp_n
     if (cur_db_changed && mysql_change_db(thd, &saved_cur_db_name, TRUE))
     {
       delete newlex.sphead;
-      ret= -1;
+      ret= SP_INTERNAL_ERROR;
       goto end;
     }
 
Thread
bk commit into 5.1 tree (anozdrin:1.2583)Alexander Nozdrin31 Aug