Below is the list of changes that have just been committed into a local
5.1 repository of monty. When monty 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-29 02:56:02+02:00, monty@stripped +2 -0
after merge fixes
sql/item_cmpfunc.cc@stripped, 2007-01-29 02:55:54+02:00, monty@stripped +5 -3
after merge fixes
sql/item_subselect.cc@stripped, 2007-01-29 02:55:55+02:00, monty@stripped +3 -4
after merge fixes
# 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: monty
# Host: narttu.mysql.fi
# Root: /home/my/mysql-5.1
--- 1.237/sql/item_cmpfunc.cc 2007-01-29 01:57:04 +02:00
+++ 1.238/sql/item_cmpfunc.cc 2007-01-29 02:55:54 +02:00
@@ -896,7 +896,7 @@
*/
for (i= 0; i < ncols; i++)
{
- if (cache->el(i)->null_value)
+ if (cache->element_index(i)->null_value)
item_subs->set_cond_guard_var(i, FALSE);
}
@@ -1020,8 +1020,10 @@
void Item_func_interval::fix_length_and_dec()
{
- use_decimal_comparison= (row->element_index(0)->result_type() == DECIMAL_RESULT)
||
- (row->element_index(0)->result_type() == INT_RESULT);
+ use_decimal_comparison= ((row->element_index(0)->result_type() ==
+ DECIMAL_RESULT) ||
+ (row->element_index(0)->result_type() ==
+ INT_RESULT));
if (row->cols() > 8)
{
bool consts=1;
--- 1.143/sql/item_subselect.cc 2007-01-29 01:57:04 +02:00
+++ 1.144/sql/item_subselect.cc 2007-01-29 02:55:55 +02:00
@@ -1259,7 +1259,7 @@
(char *)"<list ref>")
);
Item *col_item= new Item_cond_or(item_eq, item_isnull);
- if (!abort_on_null && left_expr->el(i)->maybe_null)
+ if (!abort_on_null && left_expr->element_index(i)->maybe_null)
{
if (!(col_item= new Item_func_trig_cond(col_item, get_cond_guard(i))))
DBUG_RETURN(RES_ERROR);
@@ -1273,7 +1273,7 @@
ref_pointer_array + i,
(char *)"<no matter>",
(char *)"<list ref>"));
- if (!abort_on_null && left_expr->el(i)->maybe_null)
+ if (!abort_on_null && left_expr->element_index(i)->maybe_null)
{
if (!(item_nnull_test=
new Item_func_trig_cond(item_nnull_test, get_cond_guard(i))))
@@ -1350,7 +1350,7 @@
TODO: why we create the above for cases where the right part
cant be NULL?
*/
- if (left_expr->el(i)->maybe_null)
+ if (left_expr->element_index(i)->maybe_null)
{
if (!(item= new Item_func_trig_cond(item, get_cond_guard(i))))
DBUG_RETURN(RES_ERROR);
@@ -1801,7 +1801,6 @@
if (!executed)
{
item->reset_value_registration();
- bool have_changed_access= FALSE;
JOIN_TAB *changed_tabs[MAX_TABLES];
JOIN_TAB **last_changed_tab= changed_tabs;
if (item->have_guarded_conds())
| Thread |
|---|
| • bk commit into 5.1 tree (monty:1.2413) | monty | 29 Jan |