MySQL Lists are EOL. Please join:

List:Commits« Previous MessageNext Message »
From:pem Date:February 2 2006 2:36pm
Subject:bk commit into 5.0 tree (pem:1.2010) BUG#16303
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of pem. When pem 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
  1.2010 06/02/02 15:37:29 pem@stripped +1 -0
  Minor fix for BUG#16303 in sp.cc: Simplified code in sp_routine_exists_in_table().
  (No change of functionality)

  sql/sp.cc
    1.106 06/02/02 15:37:25 pem@stripped +1 -3
    Simplified code in sp_routine_exists_in_table().

# This is a BitKeeper patch.  What follows are the unified diffs for the
# set of deltas contained in the patch.  The rest of the patch, the part
# that BitKeeper cares about, is below these diffs.
# User:	pem
# Host:	pem.mysql.com
# Root:	/extern/mysql/work/bug16303/mysql-5.0

--- 1.105/sql/sp.cc	2006-01-26 13:29:42 +01:00
+++ 1.106/sql/sp.cc	2006-02-02 15:37:25 +01:00
@@ -1073,9 +1073,7 @@
     ret= SP_OPEN_TABLE_FAILED;
   else
   {
-    if ((ret= db_find_routine_aux(thd, type, name, table)) == SP_OK)
-      ret= SP_OK;
-    else
+    if ((ret= db_find_routine_aux(thd, type, name, table)) != SP_OK)
       ret= SP_KEY_NOT_FOUND;
     close_proc_table(thd, &open_tables_state_backup);
   }
Thread
bk commit into 5.0 tree (pem:1.2010) BUG#16303pem2 Feb