Skip to content

Commit

Permalink
Remove redundant code in opt_range.cc: print_key_value()
Browse files Browse the repository at this point in the history
  • Loading branch information
spetrunia committed Jun 17, 2020
1 parent 9c577c2 commit b7324e1
Showing 1 changed file with 0 additions and 9 deletions.
9 changes: 0 additions & 9 deletions sql/opt_range.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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())
{
Expand Down

0 comments on commit b7324e1

Please sign in to comment.