mirror of
https://github.com/MariaDB/server.git
synced 2025-08-08 11:22:35 +03:00
Reapplied patch for bug18198
This commit is contained in:
@@ -38,7 +38,6 @@ public:
|
||||
{
|
||||
max_length=6*MY_CHARSET_BIN_MB_MAXLEN;
|
||||
}
|
||||
bool check_partition_func_processor(byte *int_arg) {return FALSE;}
|
||||
};
|
||||
|
||||
|
||||
@@ -53,7 +52,6 @@ public:
|
||||
decimals=0;
|
||||
max_length=6*MY_CHARSET_BIN_MB_MAXLEN;
|
||||
}
|
||||
bool check_partition_func_processor(byte *int_arg) {return FALSE;}
|
||||
};
|
||||
|
||||
|
||||
@@ -129,6 +127,7 @@ public:
|
||||
max_length=10*my_charset_bin.mbmaxlen;
|
||||
maybe_null=1;
|
||||
}
|
||||
bool check_partition_func_processor(byte *int_arg) {return TRUE;}
|
||||
};
|
||||
|
||||
|
||||
@@ -224,7 +223,6 @@ public:
|
||||
max_length=2*MY_CHARSET_BIN_MB_MAXLEN;
|
||||
maybe_null=1;
|
||||
}
|
||||
bool check_partition_func_processor(byte *int_arg) {return FALSE;}
|
||||
};
|
||||
|
||||
class Item_func_yearweek :public Item_int_func
|
||||
@@ -303,6 +301,7 @@ class Item_func_dayname :public Item_func_weekday
|
||||
max_length=9*MY_CHARSET_BIN_MB_MAXLEN;
|
||||
maybe_null=1;
|
||||
}
|
||||
bool check_partition_func_processor(byte *int_arg) {return TRUE;}
|
||||
};
|
||||
|
||||
|
||||
@@ -319,7 +318,6 @@ public:
|
||||
decimals=0;
|
||||
max_length=10*MY_CHARSET_BIN_MB_MAXLEN;
|
||||
}
|
||||
bool check_partition_func_processor(byte *int_arg) {return FALSE;}
|
||||
};
|
||||
|
||||
|
||||
@@ -602,7 +600,6 @@ public:
|
||||
void fix_length_and_dec();
|
||||
uint format_length(const String *format);
|
||||
bool eq(const Item *item, bool binary_cmp) const;
|
||||
bool check_partition_func_processor(byte *int_arg) {return FALSE;}
|
||||
};
|
||||
|
||||
|
||||
@@ -621,7 +618,6 @@ class Item_func_from_unixtime :public Item_date_func
|
||||
const char *func_name() const { return "from_unixtime"; }
|
||||
void fix_length_and_dec();
|
||||
bool get_date(TIME *res, uint fuzzy_date);
|
||||
bool check_partition_func_processor(byte *int_arg) {return FALSE;}
|
||||
};
|
||||
|
||||
|
||||
@@ -685,7 +681,6 @@ public:
|
||||
}
|
||||
const char *func_name() const { return "sec_to_time"; }
|
||||
bool result_as_longlong() { return TRUE; }
|
||||
bool check_partition_func_processor(byte *int_arg) {return FALSE;}
|
||||
};
|
||||
|
||||
|
||||
@@ -708,7 +703,6 @@ public:
|
||||
bool get_date(TIME *res, uint fuzzy_date);
|
||||
bool eq(const Item *item, bool binary_cmp) const;
|
||||
void print(String *str);
|
||||
bool check_partition_func_processor(byte *int_arg) {return FALSE;}
|
||||
};
|
||||
|
||||
|
||||
@@ -763,7 +757,6 @@ public:
|
||||
max_length=args[0]->max_length;
|
||||
maybe_null= 1;
|
||||
}
|
||||
bool check_partition_func_processor(byte *int_arg) {return FALSE;}
|
||||
};
|
||||
|
||||
|
||||
@@ -783,7 +776,6 @@ public:
|
||||
String *val_str(String *a);
|
||||
void fix_length_and_dec();
|
||||
void print(String *str);
|
||||
bool check_partition_func_processor(byte *int_arg) {return FALSE;}
|
||||
};
|
||||
|
||||
|
||||
@@ -885,7 +877,6 @@ public:
|
||||
max_length=MAX_DATE_WIDTH*MY_CHARSET_BIN_MB_MAXLEN;
|
||||
}
|
||||
longlong val_int();
|
||||
bool check_partition_func_processor(byte *int_arg) {return FALSE;}
|
||||
};
|
||||
|
||||
|
||||
@@ -908,7 +899,6 @@ public:
|
||||
}
|
||||
void print(String *str);
|
||||
const char *func_name() const { return "add_time"; }
|
||||
bool check_partition_func_processor(byte *int_arg) {return FALSE;}
|
||||
my_decimal *val_decimal(my_decimal *decimal_value)
|
||||
{
|
||||
DBUG_ASSERT(fixed == 1);
|
||||
@@ -949,7 +939,6 @@ public:
|
||||
:Item_str_timefunc(a, b ,c) {}
|
||||
String *val_str(String *str);
|
||||
const char *func_name() const { return "maketime"; }
|
||||
bool check_partition_func_processor(byte *int_arg) {return FALSE;}
|
||||
};
|
||||
|
||||
class Item_func_microsecond :public Item_int_func
|
||||
@@ -981,7 +970,6 @@ public:
|
||||
maybe_null=1;
|
||||
}
|
||||
void print(String *str);
|
||||
bool check_partition_func_processor(byte *int_arg) {return FALSE;}
|
||||
};
|
||||
|
||||
|
||||
@@ -1028,7 +1016,6 @@ public:
|
||||
{
|
||||
return tmp_table_field_from_field_type(table, 1);
|
||||
}
|
||||
bool check_partition_func_processor(byte *int_arg) {return FALSE;}
|
||||
};
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user