mirror of
https://github.com/MariaDB/server.git
synced 2025-07-30 16:24:05 +03:00
Merge 10.8 into 10.9
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
/*
|
||||
Copyright (c) 2015, 2021, MariaDB
|
||||
Copyright (c) 2015, 2022, MariaDB
|
||||
|
||||
This program is free software; you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
@ -1746,7 +1746,7 @@ Type_handler_time_common::type_handler_for_native_format() const
|
||||
|
||||
const Type_handler *Type_handler_typelib::type_handler_for_item_field() const
|
||||
{
|
||||
return &type_handler_string;
|
||||
return &type_handler_varchar;
|
||||
}
|
||||
|
||||
|
||||
@ -1959,6 +1959,9 @@ Type_collection_std::aggregate_for_comparison(const Type_handler *ha,
|
||||
return ha;
|
||||
}
|
||||
}
|
||||
if ((a == INT_RESULT && b == STRING_RESULT) ||
|
||||
(b == INT_RESULT && a == STRING_RESULT))
|
||||
return &type_handler_newdecimal;
|
||||
if ((a == INT_RESULT || a == DECIMAL_RESULT) &&
|
||||
(b == INT_RESULT || b == DECIMAL_RESULT))
|
||||
return &type_handler_newdecimal;
|
||||
|
Reference in New Issue
Block a user