Skip to content

Commit b7324e1

Browse files
committed
Remove redundant code in opt_range.cc: print_key_value()
1 parent 9c577c2 commit b7324e1

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

sql/opt_range.cc

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -15926,15 +15926,6 @@ static void print_key_value(String *out, const KEY_PART_INFO *key_part,
1592615926
{
1592715927
field= key_part->field;
1592815928
store_length= key_part->store_length;
15929-
if (field->flags & BLOB_FLAG)
15930-
{
15931-
// Byte 0 of a nullable key is the null-byte. If set, key is NULL.
15932-
if (field->real_maybe_null() && *key)
15933-
{
15934-
out->append(STRING_WITH_LEN("NULL"));
15935-
goto next;
15936-
}
15937-
}
1593815929

1593915930
if (field->real_maybe_null())
1594015931
{

0 commit comments

Comments
 (0)