mirror of
https://github.com/MariaDB/server.git
synced 2026-05-04 14:15:33 +02:00
MDEV-13995 MAX(timestamp) returns a wrong result near DST change
This commit is contained in:
parent
5b3db87134
commit
34eb98387f
26 changed files with 1850 additions and 16 deletions
|
|
@ -2381,6 +2381,15 @@ Item_sum_hybrid::val_str(String *str)
|
|||
}
|
||||
|
||||
|
||||
bool Item_sum_hybrid::val_native(THD *thd, Native *to)
|
||||
{
|
||||
DBUG_ASSERT(fixed == 1);
|
||||
if (null_value)
|
||||
return true;
|
||||
return val_native_from_item(thd, value, to);
|
||||
}
|
||||
|
||||
|
||||
void Item_sum_hybrid::cleanup()
|
||||
{
|
||||
DBUG_ENTER("Item_sum_hybrid::cleanup");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue