List:Internals« Previous MessageNext Message »
From:konstantin Date:May 30 2005 5:50pm
Subject:bk commit into 5.0 tree (konstantin:1.1937)
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
  1.1937 05/05/30 21:49:59 konstantin@stripped +1 -0
  One more post-review fix.

  sql/sql_union.cc
    1.117 05/05/30 21:49:52 konstantin@stripped +2 -3
    One more post-review fix.

# 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:	konstantin
# Host:	dragonfly.local
# Root:	/opt/local/work/mysql-5.0-7306-new

--- 1.116/sql/sql_union.cc	2005-05-30 20:54:31 +04:00
+++ 1.117/sql/sql_union.cc	2005-05-30 21:49:52 +04:00
@@ -206,9 +206,8 @@
 
     thd_arg->lex->current_select= sl;
 
-    can_skip_order_by= is_union &&
-                       (!sl->braces || sl->select_limit == HA_POS_ERROR);
-    
+    can_skip_order_by= is_union && !(sl->braces && sl->explicit_limit);
+
     res= join->prepare(&sl->ref_pointer_array,
 		       (TABLE_LIST*) sl->table_list.first, sl->with_wild,
 		       sl->where,
Thread
bk commit into 5.0 tree (konstantin:1.1937)konstantin31 May