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.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.h')
-rw-r--r-- | sql/item.h | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/sql/item.h b/sql/item.h index 82fafe6cd20..b36d8f3c99b 100644 --- a/sql/item.h +++ b/sql/item.h @@ -843,8 +843,7 @@ public: german character for double s is equal to 2 s. The default is that an item is not allowed - in a partition function. However all mathematical functions, string - manipulation functions, date functions are allowed. Allowed functions + in a partition function. Allowed functions can never depend on server version, they cannot depend on anything related to the environment. They can also only depend on a set of fields in the table itself. They cannot depend on other tables and @@ -1633,6 +1632,7 @@ public: uint decimal_precision() const { return (uint)(max_length - test(value < 0)); } bool eq(const Item *, bool binary_cmp) const; + bool check_partition_func_processor(uchar *bool_arg) { return FALSE;} }; @@ -1650,6 +1650,7 @@ public: void print(String *str); Item_num *neg (); uint decimal_precision() const { return max_length; } + bool check_partition_func_processor(uchar *bool_arg) { return FALSE;} }; @@ -1692,6 +1693,7 @@ public: uint decimal_precision() const { return decimal_value.precision(); } bool eq(const Item *, bool binary_cmp) const; void set_decimal_value(my_decimal *value_par); + bool check_partition_func_processor(uchar *bool_arg) { return FALSE;} }; @@ -1752,7 +1754,6 @@ public: {} void print(String *str) { str->append(func_name); } Item *safe_charset_converter(CHARSET_INFO *tocs); - bool check_partition_func_processor(uchar *int_arg) {return TRUE;} }; @@ -1861,7 +1862,6 @@ public: CHARSET_INFO *cs= NULL): Item_string(name, length, cs) {} - bool check_partition_func_processor(uchar *int_arg) {return TRUE;} }; @@ -1909,7 +1909,6 @@ public: unsigned_flag=1; } enum_field_types field_type() const { return int_field_type; } - bool check_partition_func_processor(uchar *int_arg) {return TRUE;} }; @@ -2231,7 +2230,6 @@ public: } Item *clone_item(); virtual Item *real_item() { return ref; } - bool check_partition_func_processor(uchar *int_arg) {return TRUE;} }; #ifdef MYSQL_SERVER |