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)
This commit is contained in:
bell@sanja.is.com.ua 2003-10-30 12:57:26 +02:00
commit 33346e26af
93 changed files with 794 additions and 158 deletions

View file

@ -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;
}