Commit 413a59a3 authored by unknown's avatar unknown

A fix for handling endianess in Field_blob::unpack().


sql/field.cc:
  Changed per Tomas` request.
parent 0f599d3b
......@@ -7662,7 +7662,7 @@ const uchar *Field_blob::unpack(uchar *to,
const uchar *Field_blob::unpack(uchar *to, const uchar *from)
{
uint32 length=get_length(from);
uint32 length=get_length(from,TRUE);
#ifdef WORDS_BIGENDIAN
if (!table->s->db_low_byte_first)
{
......
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