diff options
author | unknown <mikael@dator6.(none)> | 2007-07-02 18:08:27 +0200 |
---|---|---|
committer | unknown <mikael@dator6.(none)> | 2007-07-02 18:08:27 +0200 |
commit | a80b1ba2c9c29469256b77ccb69df0639cc6e9a3 (patch) | |
tree | e967f9a5da2ff39c5f23a3272586e2f6c0f55829 /sql/item_cmpfunc.h | |
parent | de0ba5c894df8f86512d025f4196d62687efb1bb (diff) | |
parent | ff3f8990e74e8133fb68bea7b85a60b055c9feb9 (diff) | |
download | mariadb-git-a80b1ba2c9c29469256b77ccb69df0639cc6e9a3.tar.gz |
Merge dator6.(none):/home/mikael/mysql_clones/mysql-5.1-opt
into dator6.(none):/home/mikael/mysql_clones/bug18198
mysql-test/t/partition_hash.test:
Auto merged
sql/item.h:
Auto merged
sql/item_cmpfunc.h:
Auto merged
sql/sql_partition.cc:
Auto merged
sql/sql_yacc.yy:
Auto merged
Diffstat (limited to 'sql/item_cmpfunc.h')
-rw-r--r-- | sql/item_cmpfunc.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/sql/item_cmpfunc.h b/sql/item_cmpfunc.h index 1bc52ea093c..ee36aca069d 100644 --- a/sql/item_cmpfunc.h +++ b/sql/item_cmpfunc.h @@ -355,7 +355,6 @@ public: } Item *neg_transformer(THD *thd); virtual Item *negated_item(); - bool check_partition_func_processor(uchar *int_arg) {return FALSE;} bool subst_argument_checker(uchar **arg) { return TRUE; } }; @@ -367,7 +366,6 @@ public: enum Functype functype() const { return NOT_FUNC; } const char *func_name() const { return "not"; } Item *neg_transformer(THD *thd); - bool check_partition_func_processor(uchar *int_arg) {return FALSE;} void print(String *str); }; @@ -598,7 +596,6 @@ public: bool is_bool_func() { return 1; } CHARSET_INFO *compare_collation() { return cmp_collation.collation; } uint decimal_precision() const { return 1; } - bool check_partition_func_processor(uchar *int_arg) {return FALSE;} }; @@ -610,7 +607,6 @@ public: optimize_type select_optimize() const { return OPTIMIZE_NONE; } const char *func_name() const { return "strcmp"; } void print(String *str) { Item_func::print(str); } - bool check_partition_func_processor(uchar *int_arg) {return FALSE;} }; @@ -673,7 +669,6 @@ public: const char *func_name() const { return "ifnull"; } Field *tmp_table_field(TABLE *table); uint decimal_precision() const; - bool check_partition_func_processor(uchar *int_arg) {return FALSE;} }; @@ -714,7 +709,6 @@ public: void print(String *str) { Item_func::print(str); } table_map not_null_tables() const { return 0; } bool is_null(); - bool check_partition_func_processor(uchar *int_arg) {return FALSE;} }; /* Functions to handle the optimized IN */ @@ -1141,7 +1135,6 @@ public: void print(String *str); Item *find_item(String *str); CHARSET_INFO *compare_collation() { return cmp_collation.collation; } - bool check_partition_func_processor(uchar *bool_arg) { return FALSE;} void cleanup(); }; @@ -1211,7 +1204,6 @@ public: bool nulls_in_row(); bool is_bool_func() { return 1; } CHARSET_INFO *compare_collation() { return cmp_collation.collation; } - bool check_partition_func_processor(uchar *int_arg) {return FALSE;} }; class cmp_item_row :public cmp_item @@ -1283,7 +1275,6 @@ public: optimize_type select_optimize() const { return OPTIMIZE_NULL; } Item *neg_transformer(THD *thd); CHARSET_INFO *compare_collation() { return args[0]->collation.collation; } - bool check_partition_func_processor(uchar *int_arg) {return FALSE;} }; /* Functions used by HAVING for rewriting IN subquery */ @@ -1310,7 +1301,6 @@ public: */ table_map used_tables() const { return used_tables_cache | RAND_TABLE_BIT; } - bool check_partition_func_processor(uchar *int_arg) {return TRUE;} }; @@ -1333,7 +1323,6 @@ public: void print(String *str); CHARSET_INFO *compare_collation() { return args[0]->collation.collation; } void top_level_item() { abort_on_null=1; } - bool check_partition_func_processor(uchar *int_arg) {return FALSE;} }; @@ -1372,7 +1361,6 @@ public: const char *func_name() const { return "like"; } bool fix_fields(THD *thd, Item **ref); void cleanup(); - bool check_partition_func_processor(uchar *int_arg) {return FALSE;} }; #ifdef USE_REGEX @@ -1395,7 +1383,6 @@ public: const char *func_name() const { return "regexp"; } void print(String *str) { print_op(str); } CHARSET_INFO *compare_collation() { return cmp_collation.collation; } - bool check_partition_func_processor(uchar *int_arg) {return FALSE;} }; #else @@ -1452,7 +1439,6 @@ public: Item *transform(Item_transformer transformer, uchar *arg); void traverse_cond(Cond_traverser, void *arg, traverse_order order); void neg_arguments(THD *thd); - bool check_partition_func_processor(uchar *int_arg) {return FALSE;} bool subst_argument_checker(uchar **arg) { return TRUE; } Item *compile(Item_analyzer analyzer, uchar **arg_p, Item_transformer transformer, uchar *arg_t); |