summaryrefslogtreecommitdiff
path: root/sql/item_uniq.h
diff options
context:
space:
mode:
authorbell@sanja.is.com.ua <>2003-10-30 12:57:26 +0200
committerbell@sanja.is.com.ua <>2003-10-30 12:57:26 +0200
commit33346e26af354ba09d6a885d6eb0f1eccec4f72a (patch)
treefeb3d108a684e5356467c6eca482627ae8d30859 /sql/item_uniq.h
parentae380c58552728451cc04113b4b7b57bb5f919f7 (diff)
downloadmariadb-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.h4
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); }
};