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_uniq.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_uniq.h')
-rw-r--r-- | sql/item_uniq.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/item_uniq.h b/sql/item_uniq.h index 2101fc4e45a..5c6f6eefb6b 100644 --- a/sql/item_uniq.h +++ b/sql/item_uniq.h @@ -29,7 +29,7 @@ public: :Item_real_func(list) {} double val() { return 0.0; } void fix_length_and_dec() { decimals=0; max_length=6; } - void print(String *str) { str->append("0.0"); } + void print(String *str) { str->append("0.0", 3); } }; @@ -55,5 +55,5 @@ public: { return new Item_sum_unique_users(thd, *this); } - void print(String *str) { str->append("0.0"); } + void print(String *str) { str->append("0.0", 3); } }; |