List:Internals« Previous MessageNext Message »
From:paul Date:April 7 2005 5:00pm
Subject:bk commit - mysqldoc tree (paul:1.2837)
View as plain text  
Below is the list of changes that have just been committed into a local
mysqldoc repository of paul. When paul 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://www.mysql.com/doc/I/n/Installing_source_tree.html

ChangeSet
  1.2837 05/04/07 11:59:48 paul@stripped +1 -0
  manual.texi:
    ORDER BY is only useful with LIMIT for individual SELECT
    statements within UNION. (Bug #9642)

  Docs/manual.texi
    1.2674 05/04/07 11:56:05 paul@stripped +4 -0
    ORDER BY is only useful with LIMIT for individual SELECT
    statements within UNION. (Bug #9642)

# 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:	paul
# Host:	kite-hub.kitebird.com
# Root:	/src/extern/MySQL/bk/mysqldoc

--- 1.2673/Docs/manual.texi	2005-04-07 11:34:59 -05:00
+++ 1.2674/Docs/manual.texi	2005-04-07 11:56:05 -05:00
@@ -56487,6 +56487,10 @@
 (SELECT a FROM @var{tbl_name} WHERE a=11 AND B=2 ORDER BY a LIMIT 10);
 @end example
 
+@code{ORDER BY} for individual @code{SELECT} statements within parentheses
+only has an effect when combined with @code{LIMIT}. Otherwise, the
+@code{ORDER BY} is optimized away.
+
 @c this is also written in the "known bugs" section
 The types and lengths of the columns in the result set of a @code{UNION}
 take into account the values retrieved by all the @code{SELECT} statements.
Thread
bk commit - mysqldoc tree (paul:1.2837)paul7 Apr