Below is the list of changes that have just been committed into a local
5.0 repository of kgeorge. When kgeorge 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@stripped, 2007-01-15 19:18:33+02:00, gkodinov@stripped +1 -0
Merge gkodinov@stripped:/home/bk/mysql-5.0-opt
into rakia.gmz:/home/kgeorge/mysql/autopush/B20420-5.0-opt
MERGE: 1.2365.3.1
sql/item_cmpfunc.h@stripped, 2007-01-15 19:18:29+02:00, gkodinov@stripped +0 -0
Auto merged
MERGE: 1.134.1.2
# 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: gkodinov
# Host: rakia.gmz
# Root: /home/kgeorge/mysql/autopush/B20420-5.0-opt/RESYNC
--- 1.136/sql/item_cmpfunc.h 2007-01-09 20:26:23 +02:00
+++ 1.137/sql/item_cmpfunc.h 2007-01-15 19:18:29 +02:00
@@ -965,6 +965,10 @@ class Item_func_in :public Item_func_opt
{
public:
Item_result cmp_type;
+ /*
+ an array of values when the right hand arguments of IN
+ are all SQL constant and there are no nulls
+ */
in_vector *array;
cmp_item *in_item;
bool have_null;
@@ -990,7 +994,7 @@ public:
DBUG_VOID_RETURN;
}
optimize_type select_optimize() const
- { return array ? OPTIMIZE_KEY : OPTIMIZE_NONE; }
+ { return OPTIMIZE_KEY; }
void print(String *str);
enum Functype functype() const { return IN_FUNC; }
const char *func_name() const { return " IN "; }
| Thread |
|---|
| • bk commit into 5.0 tree (gkodinov:1.2381) | kgeorge | 15 Jan |