Below is the list of changes that have just been committed into a local
5.0 repository of elkin. When elkin 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.2059 06/02/18 18:43:04 aelkin@stripped +1 -0
BUG#17265 Fixed by refining the assert. Regression test for the bug is rpl_row_view01,
as was reported.
sql/item.cc
1.206 06/02/18 18:42:58 aelkin@stripped +3 -3
Refined asssert, suggested by Evgen, due to BUG#17265 prepared statement for select
with ps-protocol
does not hold the former.
# 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: aelkin
# Host: dsl-hkigw8-feb0de00-199.dhcp.inet.fi
# Root: /usr_rh9/home/elkin.rh9/MySQL/FIXES/5.0-bug17265
--- 1.205/sql/item.cc 2006-02-16 19:54:42 +02:00
+++ 1.206/sql/item.cc 2006-02-18 18:42:58 +02:00
@@ -5116,9 +5116,9 @@
if (item_ref->ref_type() == VIEW_REF)
{
Item *item_ref_ref= *(item_ref->ref);
- DBUG_ASSERT((*ref)->type() == FIELD_ITEM &&
- (item_ref_ref->type() == FIELD_ITEM));
- return (*ref == item_ref_ref);
+ DBUG_ASSERT((*ref)->real_item()->type() == FIELD_ITEM &&
+ (item_ref_ref->real_item()->type() == FIELD_ITEM));
+ return ((*ref)->real_item() == item_ref_ref->real_item());
}
}
return FALSE;
| Thread |
|---|
| • bk commit into 5.0 tree (aelkin:1.2059) BUG#17265 | Andrei Elkin | 18 Feb |