Commit b7324e13 authored by Sergei Petrunia's avatar Sergei Petrunia

Remove redundant code in opt_range.cc: print_key_value()

parent 9c577c2b
......@@ -15926,15 +15926,6 @@ static void print_key_value(String *out, const KEY_PART_INFO *key_part,
{
field= key_part->field;
store_length= key_part->store_length;
if (field->flags & BLOB_FLAG)
{
// Byte 0 of a nullable key is the null-byte. If set, key is NULL.
if (field->real_maybe_null() && *key)
{
out->append(STRING_WITH_LEN("NULL"));
goto next;
}
}
if (field->real_maybe_null())
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment