• Olivier Bertrand's avatar
    Remove warning on Linux · 0ec89291
    Olivier Bertrand authored
      modified:   storage/connect/filamzip.cpp
    
    Avoid calling the wrong AddValue (Windows compiler error ???)
      modified:   storage/connect/json.h
    
    Fix looping bug in JARRAY::AddValue for arrays having one value.
    Fix potential crash in JVALUE::SetValue
      modified:   storage/connect/json.cpp
    
    Many changes to fix bugs, enhance memory handling and modify Jpath.
    In JSNX some functions have been re-written or added to handle new Jpath.
    BMX was re-defined to avoid a different size between Windows an Linux.
    Jbin memory was fixed to use the proper memory when adding values.
    Default pretty value is now 0 instead of 2.
    Filename is stored in BSON when IsJson == 2.
    BSON size is added to memlen in CalcLen when applicable.
    The order or parameter was switch in Json_Object_Grp.
    File name argument must be a constant (temporary?)
    Json_Set_Item now returns file name when applicable.
      modified:   storage/connect/jsonudf.cpp
      modified:   storage/connect/jsonudf.h
    
    Include "mycat.h"
      modified:   storage/connect/mycat.cc
    
    Udf_json test revisited and fixed for Linux
      modified:   storage/connect/mysql-test/connect/r/json_udf.result
      modified:   storage/connect/mysql-test/connect/t/json_udf.inc
      modified:   storage/connect/mysql-test/connect/t/json_udf.test
      modified:   storage/connect/mysql-test/connect/t/json_udf2.inc
    0ec89291
json.cpp 35.8 KB