mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 05:22:25 +01:00
Merge mysql.com:/usr_rh9/home/elkin.rh9/MySQL/BARE/5.0
into mysql.com:/usr_rh9/home/elkin.rh9/MySQL/FIXES/5.0-bug17265
This commit is contained in:
commit
35861f3006
1 changed files with 3 additions and 3 deletions
|
@ -5116,9 +5116,9 @@ bool Item_direct_view_ref::eq(const Item *item, bool binary_cmp) const
|
|||
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;
|
||||
|
|
Loading…
Reference in a new issue