Fixed bug in Item_func_compress::val_str() on MacOS X (bigendian); the length
was not properly stored in the buffer. sql/item_strfunc.cc: Made it work on MacOS X (bigendian) where int4store is a macro that expands the arguments several times. It's possible this should be done differently, like not side-stepping the String methods the way it's done here, or fixing String::c_ptr(), but this simple fix was the quickest way.
Showing
Please register or sign in to comment