mirror of
https://github.com/MariaDB/server.git
synced 2025-07-29 05:21:33 +03:00
--echo #
--echo # MDEV-17979 Assertion `0' failed in Item::val_native upon SELECT with timestamp, NULLIF, GROUP BY --echo #
This commit is contained in:
@ -23907,7 +23907,7 @@ setup_copy_fields(THD *thd, TMP_TABLE_PARAM *param,
|
||||
on how the value is to be used: In some cases this may be an
|
||||
argument in a group function, like: IF(ISNULL(col),0,COUNT(*))
|
||||
*/
|
||||
if (!(pos=new (thd->mem_root) Item_copy_string(thd, pos)))
|
||||
if (!(pos= pos->type_handler()->create_item_copy(thd, pos)))
|
||||
goto err;
|
||||
if (i < border) // HAVING, ORDER and GROUP BY
|
||||
{
|
||||
|
Reference in New Issue
Block a user