List:Commits« Previous MessageNext Message »
From:kpettersson Date:April 1 2008 12:41pm
Subject:bk commit into 5.1 tree (thek:1.2583) BUG#26208
View as plain text  
Below is the list of changes that have just been committed into a local
5.1 repository of thek.  When thek 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, 2008-04-01 14:41:13+02:00, thek@adventure.(none) +1 -0
  Bug#26208 a typo (wrong variable name) in mysql_prepare_update function's source code?
  
  This is a code clean up.
  Removed redundant (and unused) TABLE_LIST variable intended as an IN-
  parameter for setup_order.

  sql/sql_update.cc@stripped, 2008-04-01 14:41:10+02:00, thek@adventure.(none) +0 -4
    Removed redundant (and unused) TABLE_LIST variable intended as an IN-
    parameter for setup_order.

diff -Nrup a/sql/sql_update.cc b/sql/sql_update.cc
--- a/sql/sql_update.cc	2008-03-27 13:03:59 +01:00
+++ b/sql/sql_update.cc	2008-04-01 14:41:10 +02:00
@@ -854,7 +854,6 @@ bool mysql_prepare_update(THD *thd, TABL
 {
   Item *fake_conds= 0;
   TABLE *table= table_list->table;
-  TABLE_LIST tables;
   List<Item> all_fields;
   SELECT_LEX *select_lex= &thd->lex->select_lex;
   DBUG_ENTER("mysql_prepare_update");
@@ -878,9 +877,6 @@ bool mysql_prepare_update(THD *thd, TABL
   table_list->register_want_access(SELECT_ACL);
 #endif
 
-  bzero((char*) &tables,sizeof(tables));	// For ORDER BY
-  tables.table= table;
-  tables.alias= table_list->alias;
   thd->lex->allow_sum_func= 0;
 
   if (setup_tables_and_check_access(thd, &select_lex->context, 
Thread
bk commit into 5.1 tree (thek:1.2583) BUG#26208kpettersson1 Apr
  • Re: bk commit into 5.1 tree (thek:1.2583) BUG#26208Konstantin Osipov1 Apr