1
0
mirror of https://github.com/MariaDB/server.git synced 2025-07-27 18:02:13 +03:00
--echo # MDEV-17979 Assertion `0' failed in Item::val_native upon SELECT with timestamp, NULLIF, GROUP BY
--echo #
This commit is contained in:
Alexander Barkov
2018-12-12 10:39:06 +04:00
parent 4abb8216a0
commit c353b2a8fc
8 changed files with 125 additions and 1 deletions

View File

@ -3764,6 +3764,22 @@ Type_handler_date_common::Item_get_cache(THD *thd, const Item *item) const
return new (thd->mem_root) Item_cache_date(thd);
}
/*************************************************************************/
Item_copy *
Type_handler::create_item_copy(THD *thd, Item *item) const
{
return new (thd->mem_root) Item_copy_string(thd, item);
}
Item_copy *
Type_handler_timestamp_common::create_item_copy(THD *thd, Item *item) const
{
return new (thd->mem_root) Item_copy_timestamp(thd, item);
}
/*************************************************************************/
bool Type_handler_int_result::