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.1895 05/05/21 07:02:43 igor@stripped +1 -0
opt_range.cc:
Post review corrections for optimization request #10561.
sql/opt_range.cc
1.161 05/05/21 07:02:22 igor@stripped +4 -3
Post review corrections for optimization request #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.160/sql/opt_range.cc Sat May 21 06:06:56 2005
+++ 1.161/sql/opt_range.cc Sat May 21 07:02:22 2005
@@ -3349,9 +3349,10 @@
value constant in the predicate
cmp_type compare type for the field
inv TRUE <> NOT cond_func is considered
+ (makes sense only when cond_func is BETWEEN or IN)
RETURN
- Pointer to tree built tree
+ Pointer to the tree built tree
*/
static SEL_TREE *get_func_mm_tree(PARAM *param, Item_func *cond_func,
@@ -3534,14 +3535,14 @@
DBUG_RETURN(0);
}
else if (cond_func->select_optimize() == Item_func::OPTIMIZE_NONE)
- DBUG_RETURN(0);
+ DBUG_RETURN(0);
param->cond= cond;
switch (cond_func->functype()) {
case Item_func::BETWEEN:
if (cond_func->arguments()[0]->type() != Item::FIELD_ITEM)
- DBUG_RETURN(0);
+ DBUG_RETURN(0);
field_item= (Item_field*) (cond_func->arguments()[0]);
value= NULL;
break;
| Thread |
|---|
| • bk commit into 5.0 tree (igor:1.1895) | igor | 21 May |