mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
Merge mysql.com:/home/hf/work/mrg/mysql-5.0-opt
into mysql.com:/home/hf/work/mrg/mysql-5.1-opt
This commit is contained in:
@ -7788,7 +7788,8 @@ static COND* substitute_for_best_equal_field(COND *cond,
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (!((Item_cond*)cond)->argument_list()->elements)
|
if (cond->type() == Item::COND_ITEM &&
|
||||||
|
!((Item_cond*)cond)->argument_list()->elements)
|
||||||
cond= new Item_int((int32)cond->val_bool());
|
cond= new Item_int((int32)cond->val_bool());
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user