List:Internals« Previous MessageNext Message »
From:Martin Skold Date:March 14 2005 3:53pm
Subject:bk commit into 5.0 tree (mskold:1.1815)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of marty. When marty 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.1815 05/03/14 15:53:44 mskold@stripped +1 -0
  Removed unnecessary current_thd

  sql/sql_select.cc
    1.297 05/03/14 15:53:18 mskold@stripped +2 -2
    Removed unnecessary current_thd

# 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:	mskold
# Host:	blowfish.ndb.mysql.com
# Root:	/usr/local/home/marty/MySQL/mysql-5.0

--- 1.296/sql/sql_select.cc	Mon Mar 14 15:23:12 2005
+++ 1.297/sql/sql_select.cc	Mon Mar 14 15:53:18 2005
@@ -5305,7 +5305,7 @@
           if (!(tmp= add_found_match_trig_cond(first_inner_tab, tmp, 0)))
             DBUG_RETURN(1);
           tab->select_cond=sel->cond=tmp;
-	  if (current_thd->variables.engine_condition_pushdown)
+	  if (join->thd->variables.engine_condition_pushdown)
           {
             tab->table->file->pushed_cond= NULL;
 	    /* Push condition to handler */
@@ -5433,7 +5433,7 @@
 		join->thd->memdup((gptr) sel, sizeof(SQL_SELECT));
 	      tab->cache.select->cond=tmp;
 	      tab->cache.select->read_tables=join->const_table_map;
-	      if (current_thd->variables.engine_condition_pushdown &&
+	      if (join->thd->variables.engine_condition_pushdown &&
 		  (!tab->table->file->pushed_cond))
               {
 		/* Push condition to handler */
Thread
bk commit into 5.0 tree (mskold:1.1815)Martin Skold14 Mar