mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge branch '10.3' into 10.4
This commit is contained in:
@ -983,6 +983,13 @@ Datetime::Datetime(THD *thd, int *warn, const MYSQL_TIME *from,
|
||||
DBUG_ASSERT(is_valid_value_slow());
|
||||
}
|
||||
|
||||
Datetime::Datetime(my_time_t unix_time, ulong second_part_arg,
|
||||
const Time_zone* time_zone)
|
||||
{
|
||||
time_zone->gmt_sec_to_TIME(this, unix_time);
|
||||
second_part= second_part_arg;
|
||||
}
|
||||
|
||||
|
||||
bool Temporal::datetime_add_nanoseconds_or_invalidate(THD *thd, int *warn, ulong nsec)
|
||||
{
|
||||
@ -8321,7 +8328,7 @@ bool Type_handler_string_result::Item_eq_value(THD *thd,
|
||||
|
||||
/***************************************************************************/
|
||||
|
||||
bool Type_handler_string_result::union_element_finalize(const Item * item) const
|
||||
bool Type_handler_string_result::union_element_finalize(Item_type_holder* item) const
|
||||
{
|
||||
if (item->collation.derivation == DERIVATION_NONE)
|
||||
{
|
||||
@ -8617,6 +8624,12 @@ Type_handler_timestamp_common::Item_val_native_with_conversion(THD *thd,
|
||||
TIME_to_native(thd, <ime, to, item->datetime_precision(thd));
|
||||
}
|
||||
|
||||
bool Type_handler_null::union_element_finalize(Item_type_holder *item) const
|
||||
{
|
||||
item->set_handler(&type_handler_string);
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
bool
|
||||
Type_handler_timestamp_common::Item_val_native_with_conversion_result(THD *thd,
|
||||
|
Reference in New Issue
Block a user