mirror of
https://github.com/MariaDB/server.git
synced 2025-07-27 18:02:13 +03:00
Merge branch '10.3' into 10.4
This commit is contained in:
@ -14,7 +14,7 @@
|
||||
|
||||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, write to the Free Software
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA */
|
||||
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1335 USA */
|
||||
|
||||
#ifdef USE_PRAGMA_INTERFACE
|
||||
#pragma interface /* gcc class implementation */
|
||||
@ -25,6 +25,7 @@
|
||||
#include "sql_array.h"
|
||||
#include "sql_const.h"
|
||||
#include "sql_time.h"
|
||||
#include "sql_type_real.h"
|
||||
#include "compat56.h"
|
||||
|
||||
class Field;
|
||||
@ -55,6 +56,7 @@ class Item_func_neg;
|
||||
class Item_func_signed;
|
||||
class Item_func_unsigned;
|
||||
class Item_double_typecast;
|
||||
class Item_float_typecast;
|
||||
class Item_decimal_typecast;
|
||||
class Item_char_typecast;
|
||||
class Item_time_typecast;
|
||||
@ -3682,6 +3684,8 @@ public:
|
||||
virtual bool
|
||||
Item_double_typecast_fix_length_and_dec(Item_double_typecast *item) const;
|
||||
virtual bool
|
||||
Item_float_typecast_fix_length_and_dec(Item_float_typecast *item) const;
|
||||
virtual bool
|
||||
Item_decimal_typecast_fix_length_and_dec(Item_decimal_typecast *item) const;
|
||||
virtual bool
|
||||
Item_char_typecast_fix_length_and_dec(Item_char_typecast *item) const;
|
||||
@ -4021,6 +4025,11 @@ public:
|
||||
DBUG_ASSERT(0);
|
||||
return true;
|
||||
}
|
||||
bool Item_float_typecast_fix_length_and_dec(Item_float_typecast *) const
|
||||
{
|
||||
DBUG_ASSERT(0);
|
||||
return true;
|
||||
}
|
||||
bool Item_decimal_typecast_fix_length_and_dec(Item_decimal_typecast *) const
|
||||
{
|
||||
DBUG_ASSERT(0);
|
||||
@ -4115,7 +4124,6 @@ public:
|
||||
void Item_update_null_value(Item *item) const;
|
||||
int Item_save_in_field(Item *item, Field *field, bool no_conversions) const;
|
||||
Item *make_const_item_for_comparison(THD *, Item *src, const Item *cmp) const;
|
||||
Item_cache *Item_get_cache(THD *thd, const Item *item) const;
|
||||
bool set_comparator_func(Arg_comparator *cmp) const;
|
||||
bool Item_hybrid_func_fix_attributes(THD *thd,
|
||||
const char *name,
|
||||
@ -4136,8 +4144,6 @@ public:
|
||||
longlong Item_val_int_signed_typecast(Item *item) const;
|
||||
longlong Item_val_int_unsigned_typecast(Item *item) const;
|
||||
String *Item_func_hex_val_str_ascii(Item_func_hex *item, String *str) const;
|
||||
String *Item_func_hybrid_field_type_val_str(Item_func_hybrid_field_type *,
|
||||
String *) const;
|
||||
double Item_func_hybrid_field_type_val_real(Item_func_hybrid_field_type *)
|
||||
const;
|
||||
longlong Item_func_hybrid_field_type_val_int(Item_func_hybrid_field_type *)
|
||||
@ -4150,7 +4156,6 @@ public:
|
||||
Temporal::Warn *,
|
||||
MYSQL_TIME *,
|
||||
date_mode_t fuzzydate) const;
|
||||
String *Item_func_min_max_val_str(Item_func_min_max *, String *) const;
|
||||
longlong Item_func_between_val_int(Item_func_between *func) const;
|
||||
cmp_item *make_cmp_item(THD *thd, CHARSET_INFO *cs) const;
|
||||
in_vector *make_in_vector(THD *, const Item_func_in *, uint nargs) const;
|
||||
@ -5085,6 +5090,8 @@ public:
|
||||
bool type_can_have_auto_increment_attribute() const { return true; }
|
||||
uint32 max_display_length(const Item *item) const { return 25; }
|
||||
uint32 calc_pack_length(uint32 length) const { return sizeof(float); }
|
||||
Item *create_typecast_item(THD *thd, Item *item,
|
||||
const Type_cast_attributes &attr) const;
|
||||
bool Item_send(Item *item, Protocol *protocol, st_value *buf) const
|
||||
{
|
||||
return Item_send_float(item, protocol, buf);
|
||||
@ -5110,6 +5117,11 @@ public:
|
||||
uint32 flags) const;
|
||||
void Item_param_set_param_func(Item_param *param,
|
||||
uchar **pos, ulong len) const;
|
||||
|
||||
Item_cache *Item_get_cache(THD *thd, const Item *item) const;
|
||||
String *Item_func_hybrid_field_type_val_str(Item_func_hybrid_field_type *,
|
||||
String *) const;
|
||||
String *Item_func_min_max_val_str(Item_func_min_max *, String *) const;
|
||||
};
|
||||
|
||||
|
||||
@ -5153,6 +5165,11 @@ public:
|
||||
uint32 flags) const;
|
||||
void Item_param_set_param_func(Item_param *param,
|
||||
uchar **pos, ulong len) const;
|
||||
|
||||
Item_cache *Item_get_cache(THD *thd, const Item *item) const;
|
||||
String *Item_func_hybrid_field_type_val_str(Item_func_hybrid_field_type *,
|
||||
String *) const;
|
||||
String *Item_func_min_max_val_str(Item_func_min_max *, String *) const;
|
||||
};
|
||||
|
||||
|
||||
@ -6109,6 +6126,7 @@ public:
|
||||
bool Item_func_signed_fix_length_and_dec(Item_func_signed *) const;
|
||||
bool Item_func_unsigned_fix_length_and_dec(Item_func_unsigned *) const;
|
||||
bool Item_double_typecast_fix_length_and_dec(Item_double_typecast *) const;
|
||||
bool Item_float_typecast_fix_length_and_dec(Item_float_typecast *) const;
|
||||
bool Item_decimal_typecast_fix_length_and_dec(Item_decimal_typecast *) const;
|
||||
bool Item_char_typecast_fix_length_and_dec(Item_char_typecast *) const;
|
||||
bool Item_time_typecast_fix_length_and_dec(Item_time_typecast *) const;
|
||||
|
Reference in New Issue
Block a user