diff options
author | unknown <mikael/pappa@dator5.(none)> | 2006-09-26 02:25:23 -0400 |
---|---|---|
committer | unknown <mikael/pappa@dator5.(none)> | 2006-09-26 02:25:23 -0400 |
commit | 35f1ee03287023b0114b28a27f2ca10d4d0fdf0c (patch) | |
tree | 17305e768e23a8cb249eb1b127cacdb915fad216 /sql/item_strfunc.h | |
parent | 2c9ab3a12a58e1796c08e3f298ef58ba9a77688d (diff) | |
download | mariadb-git-35f1ee03287023b0114b28a27f2ca10d4d0fdf0c.tar.gz |
BUG#18198
Review comments
sql/item.h:
Added comment after review
sql/item_cmpfunc.h:
Changed to either return TRUE or FALSE (check_partition_func_processor)
sql/item_func.h:
Changed to either return TRUE or FALSE (check_partition_func_processor)
sql/item_strfunc.h:
Changed to either return TRUE or FALSE (check_partition_func_processor)
sql/item_timefunc.h:
Changed to either return TRUE or FALSE (check_partition_func_processor)
sql/item_xmlfunc.h:
Changed to either return TRUE or FALSE (check_partition_func_processor)
Diffstat (limited to 'sql/item_strfunc.h')
-rw-r--r-- | sql/item_strfunc.h | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/sql/item_strfunc.h b/sql/item_strfunc.h index 77672d51933..2adccd212b3 100644 --- a/sql/item_strfunc.h +++ b/sql/item_strfunc.h @@ -50,7 +50,7 @@ public: String *val_str(String *); void fix_length_and_dec(); const char *func_name() const { return "md5"; } - bool check_partition_func_processor(byte *int_arg) { return FALSE; } + bool check_partition_func_processor(byte *int_arg) {return FALSE;} }; @@ -94,7 +94,7 @@ public: String *val_str(String *); void fix_length_and_dec(); const char *func_name() const { return "concat"; } - bool check_partition_func_processor(byte *int_arg) { return FALSE; } + bool check_partition_func_processor(byte *int_arg) {return FALSE;} }; class Item_func_concat_ws :public Item_str_func @@ -116,7 +116,7 @@ public: String *val_str(String *); void fix_length_and_dec(); const char *func_name() const { return "reverse"; } - bool check_partition_func_processor(byte *int_arg) { return FALSE; } + bool check_partition_func_processor(byte *int_arg) {return FALSE;} }; @@ -154,7 +154,7 @@ protected: public: Item_str_conv(Item *item) :Item_str_func(item) {} String *val_str(String *); - bool check_partition_func_processor(byte *int_arg) { return FALSE; } + bool check_partition_func_processor(byte *int_arg) {return FALSE;} }; @@ -457,7 +457,7 @@ public: String *val_str(String *); void fix_length_and_dec(); const char *func_name() const { return "soundex"; } - bool check_partition_func_processor(byte *int_arg) { return FALSE; } + bool check_partition_func_processor(byte *int_arg) {return FALSE;} }; @@ -558,7 +558,7 @@ public: String *val_str(String *); void fix_length_and_dec(); const char *func_name() const { return "rpad"; } - bool check_partition_func_processor(byte *int_arg) { return FALSE; } + bool check_partition_func_processor(byte *int_arg) {return FALSE;} }; @@ -571,7 +571,7 @@ public: String *val_str(String *); void fix_length_and_dec(); const char *func_name() const { return "lpad"; } - bool check_partition_func_processor(byte *int_arg) { return FALSE; } + bool check_partition_func_processor(byte *int_arg) {return FALSE;} }; @@ -586,7 +586,7 @@ public: collation.set(default_charset()); max_length= 64; } - bool check_partition_func_processor(byte *int_arg) { return FALSE; } + bool check_partition_func_processor(byte *int_arg) {return FALSE;} }; @@ -603,7 +603,7 @@ public: decimals=0; max_length=args[0]->max_length*2*collation.collation->mbmaxlen; } - bool check_partition_func_processor(byte *int_arg) { return FALSE; } + bool check_partition_func_processor(byte *int_arg) {return FALSE;} }; class Item_func_unhex :public Item_str_func @@ -619,7 +619,7 @@ public: decimals=0; max_length=(1+args[0]->max_length)/2; } - bool check_partition_func_processor(byte *int_arg) { return FALSE; } + bool check_partition_func_processor(byte *int_arg) {return FALSE;} }; @@ -643,7 +643,7 @@ public: } void print(String *str); const char *func_name() const { return "cast_as_binary"; } - bool check_partition_func_processor(byte *int_arg) { return FALSE; } + bool check_partition_func_processor(byte *int_arg) {return FALSE;} }; @@ -683,7 +683,7 @@ public: String* val_str(String* str); const char *func_name() const { return "inet_ntoa"; } void fix_length_and_dec() { decimals = 0; max_length=3*8+7; } - bool check_partition_func_processor(byte *int_arg) { return FALSE; } + bool check_partition_func_processor(byte *int_arg) {return FALSE;} }; class Item_func_quote :public Item_str_func @@ -698,7 +698,7 @@ public: collation.set(args[0]->collation); max_length= args[0]->max_length * 2 + 2; } - bool check_partition_func_processor(byte *int_arg) { return FALSE; } + bool check_partition_func_processor(byte *int_arg) {return FALSE;} }; class Item_func_conv_charset :public Item_str_func @@ -799,7 +799,7 @@ public: const char *func_name() const { return "crc32"; } void fix_length_and_dec() { max_length=10; } longlong val_int(); - bool check_partition_func_processor(byte *int_arg) { return FALSE; } + bool check_partition_func_processor(byte *int_arg) {return FALSE;} }; class Item_func_uncompressed_length : public Item_int_func |