diff options
author | bell@sanja.is.com.ua <> | 2003-10-30 12:57:26 +0200 |
---|---|---|
committer | bell@sanja.is.com.ua <> | 2003-10-30 12:57:26 +0200 |
commit | 33346e26af354ba09d6a885d6eb0f1eccec4f72a (patch) | |
tree | feb3d108a684e5356467c6eca482627ae8d30859 /sql/item_func.h | |
parent | ae380c58552728451cc04113b4b7b57bb5f919f7 (diff) | |
download | mariadb-git-33346e26af354ba09d6a885d6eb0f1eccec4f72a.tar.gz |
added code covarage for functions convert(), nullif(), crc32(), is_used_lock(), char_lengtrh(), bit_xor()
added string length for more speed
made code covarage for print() method of Item
fixed printability of some items (SCRUM) (WL#1274)
Diffstat (limited to 'sql/item_func.h')
-rw-r--r-- | sql/item_func.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sql/item_func.h b/sql/item_func.h index 541ced0f1ba..235b1ea18f2 100644 --- a/sql/item_func.h +++ b/sql/item_func.h @@ -124,6 +124,7 @@ public: virtual void split_sum_func(Item **ref_pointer_array, List<Item> &fields); void print(String *str); void print_op(String *str); + void print_args(String *str); void fix_num_length_and_dec(); inline bool get_arg0_date(TIME *ltime,bool fuzzy_date) { @@ -608,6 +609,7 @@ public: const char *func_name() const { return "locate"; } longlong val_int(); void fix_length_and_dec(); + void print(String *str); }; @@ -733,6 +735,7 @@ class Item_func_benchmark :public Item_int_func longlong val_int(); const char *func_name() const { return "benchmark"; } void fix_length_and_dec() { max_length=1; maybe_null=0; } + void print(String *str); }; @@ -1056,7 +1059,7 @@ class Item_func_is_free_lock :public Item_int_func public: Item_func_is_free_lock(Item *a) :Item_int_func(a) {} longlong val_int(); - const char *func_name() const { return "check_lock"; } + const char *func_name() const { return "is_free_lock"; } void fix_length_and_dec() { decimals=0; max_length=1; maybe_null=1;} }; |