Commit ea61d743 authored by Tor Didriksen's avatar Tor Didriksen

Bug #52131: SET and ENUM stored endian-dependent in binary log

Post-Push fix, DBUG build broken on freebsd7

sql/field.cc:8456: warning: control reaches end of non-void function
parent 0d56490c
......@@ -8408,6 +8408,8 @@ uchar *Field_enum::pack(uchar *to, const uchar *from,
default:
DBUG_ASSERT(0);
}
MY_ASSERT_UNREACHABLE();
DBUG_RETURN(NULL);
}
const uchar *Field_enum::unpack(uchar *to, const uchar *from,
......@@ -8430,6 +8432,8 @@ const uchar *Field_enum::unpack(uchar *to, const uchar *from,
default:
DBUG_ASSERT(0);
}
MY_ASSERT_UNREACHABLE();
DBUG_RETURN(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