@@ -70,7 +70,7 @@ class Item_func_to_days :public Item_int_func
7070 enum_monotonicity_info get_monotonicity_info () const ;
7171 longlong val_int_endpoint (bool left_endp, bool *incl_endp);
7272 bool check_partition_func_processor (uchar *int_arg) {return FALSE ;}
73- bool is_arguments_valid_processor (uchar *int_arg)
73+ bool check_valid_arguments_processor (uchar *int_arg)
7474 {
7575 return !has_date_args ();
7676 }
@@ -90,7 +90,7 @@ class Item_func_dayofmonth :public Item_int_func
9090 maybe_null=1 ;
9191 }
9292 bool check_partition_func_processor (uchar *int_arg) {return FALSE ;}
93- bool is_arguments_valid_processor (uchar *int_arg)
93+ bool check_valid_arguments_processor (uchar *int_arg)
9494 {
9595 return !has_date_args ();
9696 }
@@ -119,7 +119,7 @@ class Item_func_month :public Item_func
119119 maybe_null=1 ;
120120 }
121121 bool check_partition_func_processor (uchar *int_arg) {return FALSE ;}
122- bool is_arguments_valid_processor (uchar *int_arg)
122+ bool check_valid_arguments_processor (uchar *int_arg)
123123 {
124124 return !has_date_args ();
125125 }
@@ -152,7 +152,7 @@ class Item_func_dayofyear :public Item_int_func
152152 maybe_null=1 ;
153153 }
154154 bool check_partition_func_processor (uchar *int_arg) {return FALSE ;}
155- bool is_arguments_valid_processor (uchar *int_arg)
155+ bool check_valid_arguments_processor (uchar *int_arg)
156156 {
157157 return !has_date_args ();
158158 }
@@ -172,7 +172,7 @@ class Item_func_hour :public Item_int_func
172172 maybe_null=1 ;
173173 }
174174 bool check_partition_func_processor (uchar *int_arg) {return FALSE ;}
175- bool is_arguments_valid_processor (uchar *int_arg)
175+ bool check_valid_arguments_processor (uchar *int_arg)
176176 {
177177 return !has_time_args ();
178178 }
@@ -192,7 +192,7 @@ class Item_func_minute :public Item_int_func
192192 maybe_null=1 ;
193193 }
194194 bool check_partition_func_processor (uchar *int_arg) {return FALSE ;}
195- bool is_arguments_valid_processor (uchar *int_arg)
195+ bool check_valid_arguments_processor (uchar *int_arg)
196196 {
197197 return !has_time_args ();
198198 }
@@ -212,7 +212,7 @@ class Item_func_quarter :public Item_int_func
212212 maybe_null=1 ;
213213 }
214214 bool check_partition_func_processor (uchar *int_arg) {return FALSE ;}
215- bool is_arguments_valid_processor (uchar *int_arg)
215+ bool check_valid_arguments_processor (uchar *int_arg)
216216 {
217217 return !has_date_args ();
218218 }
@@ -232,7 +232,7 @@ class Item_func_second :public Item_int_func
232232 maybe_null=1 ;
233233 }
234234 bool check_partition_func_processor (uchar *int_arg) {return FALSE ;}
235- bool is_arguments_valid_processor (uchar *int_arg)
235+ bool check_valid_arguments_processor (uchar *int_arg)
236236 {
237237 return !has_time_args ();
238238 }
@@ -266,7 +266,7 @@ class Item_func_yearweek :public Item_int_func
266266 maybe_null=1 ;
267267 }
268268 bool check_partition_func_processor (uchar *int_arg) {return FALSE ;}
269- bool is_arguments_valid_processor (uchar *int_arg)
269+ bool check_valid_arguments_processor (uchar *int_arg)
270270 {
271271 return !has_date_args ();
272272 }
@@ -288,7 +288,7 @@ class Item_func_year :public Item_int_func
288288 maybe_null=1 ;
289289 }
290290 bool check_partition_func_processor (uchar *int_arg) {return FALSE ;}
291- bool is_arguments_valid_processor (uchar *int_arg)
291+ bool check_valid_arguments_processor (uchar *int_arg)
292292 {
293293 return !has_date_args ();
294294 }
@@ -322,7 +322,7 @@ class Item_func_weekday :public Item_func
322322 maybe_null=1 ;
323323 }
324324 bool check_partition_func_processor (uchar *int_arg) {return FALSE ;}
325- bool is_arguments_valid_processor (uchar *int_arg)
325+ bool check_valid_arguments_processor (uchar *int_arg)
326326 {
327327 return !has_date_args ();
328328 }
@@ -355,7 +355,7 @@ class Item_func_unix_timestamp :public Item_int_func
355355 (and thus may not be used as a partitioning function)
356356 when its argument is NOT of the TIMESTAMP type.
357357 */
358- bool is_arguments_valid_processor (uchar *int_arg)
358+ bool check_valid_arguments_processor (uchar *int_arg)
359359 {
360360 return !has_timestamp_args ();
361361 }
@@ -380,7 +380,7 @@ class Item_func_time_to_sec :public Item_int_func
380380 max_length=10 *MY_CHARSET_BIN_MB_MAXLEN;
381381 }
382382 bool check_partition_func_processor (uchar *int_arg) {return FALSE ;}
383- bool is_arguments_valid_processor (uchar *int_arg)
383+ bool check_valid_arguments_processor (uchar *int_arg)
384384 {
385385 return !has_time_args ();
386386 }
@@ -637,7 +637,7 @@ class Item_func_from_days :public Item_date
637637 const char *func_name () const { return " from_days" ; }
638638 bool get_date (MYSQL_TIME *res, uint fuzzy_date);
639639 bool check_partition_func_processor (uchar *int_arg) {return FALSE ;}
640- bool is_arguments_valid_processor (uchar *int_arg)
640+ bool check_valid_arguments_processor (uchar *int_arg)
641641 {
642642 return has_date_args () || has_time_args ();
643643 }
@@ -767,7 +767,7 @@ class Item_extract :public Item_int_func
767767 bool eq (const Item *item, bool binary_cmp) const ;
768768 virtual void print (String *str, enum_query_type query_type);
769769 bool check_partition_func_processor (uchar *int_arg) {return FALSE ;}
770- bool is_arguments_valid_processor (uchar *int_arg)
770+ bool check_valid_arguments_processor (uchar *int_arg)
771771 {
772772 switch (int_type) {
773773 case INTERVAL_YEAR:
@@ -1053,7 +1053,7 @@ class Item_func_microsecond :public Item_int_func
10531053 maybe_null=1 ;
10541054 }
10551055 bool check_partition_func_processor (uchar *int_arg) {return FALSE ;}
1056- bool is_arguments_valid_processor (uchar *int_arg)
1056+ bool check_valid_arguments_processor (uchar *int_arg)
10571057 {
10581058 return !has_time_args ();
10591059 }
0 commit comments