List:Internals« Previous MessageNext Message »
From:igor Date:May 21 2005 5:39pm
Subject:bk commit into 5.0 tree (igor:1.1896)
View as plain text  
Below is the list of changes that have just been committed into a local
5.0 repository of igor. When igor 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.1896 05/05/21 08:39:35 igor@stripped +1 -0
  sql_select.cc:
    Added missing comment for fix of #10561.

  sql/sql_select.cc
    1.323 05/05/21 08:38:27 igor@stripped +5 -0
    Added missing comment for fix of #10561.

# 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:	igor
# Host:	rurik.mysql.com
# Root:	/home/igor/dev/mysql-5.0-0

--- 1.322/sql/sql_select.cc	Sat May 21 06:06:14 2005
+++ 1.323/sql/sql_select.cc	Sat May 21 08:38:27 2005
@@ -2825,6 +2825,11 @@
   if (cond_func->functype() == Item_func::NOT_FUNC)
   {
     Item *item= cond_func->arguments()[0];
+    /* 
+       At this moment all NOT before simple comparison predicates
+       are eliminated. NOT IN and NOT BETWEEN are treated similar
+       IN and BETWEEN respectively.
+    */
     if (item->type() == Item::FUNC_ITEM &&
         ((Item_func *) item)->select_optimize() == Item_func::OPTIMIZE_KEY)
     {
Thread
bk commit into 5.0 tree (igor:1.1896)igor21 May