Commit 88b8ad10 authored by rafal@quant.(none)'s avatar rafal@quant.(none)

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

parent 7d72a132
...@@ -7662,7 +7662,7 @@ const uchar *Field_blob::unpack(uchar *to, ...@@ -7662,7 +7662,7 @@ const uchar *Field_blob::unpack(uchar *to,
const uchar *Field_blob::unpack(uchar *to, const uchar *from) const uchar *Field_blob::unpack(uchar *to, const uchar *from)
{ {
uint32 length=get_length(from); uint32 length=get_length(from,TRUE);
#ifdef WORDS_BIGENDIAN #ifdef WORDS_BIGENDIAN
if (!table->s->db_low_byte_first) 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