On 01/09/2014 03:35 PM, Rich Prohaska wrote:
> In mysql 5.7.3 (and prior versions of mysql including 5.6 and perhaps
> others), there is an item type ITEM_INSERT_VALUE, an Item_insert_value
> class, but no Item class that implements a type() method that returns
> In addition, the Item_insert_value::eq method queries an item's type()
> for ITEM_INSERT_VALUE.
> It seems like a bug that the Item_insert_value type is not ITEM_INSERT_VALUE.
I think this is a bug. AFAICT, it has been this way since
Item_insert_value was introduced more than 10 years ago. It would be
great if you could file a bug report for this.