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/key.cc | |
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/key.cc')
-rw-r--r-- | sql/key.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/key.cc b/sql/key.cc index 37ef6339f20..639b1e535a6 100644 --- a/sql/key.cc +++ b/sql/key.cc @@ -227,7 +227,7 @@ void key_unpack(String *to,TABLE *table,uint idx) { if (table->record[0][key_part->null_offset] & key_part->null_bit) { - to->append("NULL"); + to->append("NULL", 4); continue; } } @@ -239,7 +239,7 @@ void key_unpack(String *to,TABLE *table,uint idx) to->append(tmp); } else - to->append("???"); + to->append("???", 3); } DBUG_VOID_RETURN; } |