• unknown's avatar
    Fixed bug in Item_func_compress::val_str() on MacOS X (bigendian); the length · 4a506d6e
    unknown authored
    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.
    4a506d6e
item_strfunc.cc 72.4 KB