1. 16 Mar, 2016 2 commits
    • Olivier Bertrand's avatar
      - Fix crash when sorting a TBL table with thread=yes. · b80b2921
      Olivier Bertrand authored
        This was because Tablist can be NULL when no lacal tables are in the list.
        modified:   storage/connect/tabtbl.cpp
        modified:   storage/connect/mysql-test/connect/r/tbl.result
        modified:   storage/connect/mysql-test/connect/t/tbl.test
      b80b2921
    • Olivier Bertrand's avatar
      - Fix MDEV-9603 compiler error. · 7829cefa
      Olivier Bertrand authored
        modified:   storage/connect/tabmysql.cpp
      
      - Test invalid CSV separator when creating the table (MDEV-9714)
        modified:   storage/connect/ha_connect.cc
      
      - Stop using SQLDescribeParam anymore
        modified:   storage/connect/odbconn.cpp
      
      - Fix MDEV-9723 Regression due to calling Cardinality instead of
        GetMaxSize in info.
        modified:   storage/connect/tabtbl.h
        modified:   storage/connect/mysql-test/connect/r/tbl.result
        modified:   storage/connect/mysql-test/connect/t/tbl.test
      
      - Typo
        modified:   storage/connect/tabodbc.cpp
      7829cefa
  2. 19 Feb, 2016 1 commit
  3. 15 Feb, 2016 1 commit
    • Olivier Bertrand's avatar
      - Fix to MDEV-9542 Connect was not handling NULLs in the answer · d163ad33
      Olivier Bertrand authored
        from catalog functions and tables. It does now and when decimal
        is NULL defines DOUBLE without parameters.
        modified:   storage/connect/ha_connect.cc
        modified:   storage/connect/mysql-test/connect/r/odbc.result
        modified:   storage/connect/mysql-test/connect/r/odbc_oracle.result
        modified:   storage/connect/mysql-test/connect/r/odbc_postgresql.result
        modified:   storage/connect/mysql-test/connect/r/odbc_sqlite3.result
        modified:   storage/connect/mysql-test/connect/r/odbc_xls.result
        modified:   storage/connect/odbconn.cpp
        modified:   storage/connect/table.cpp
        modified:   storage/connect/valblk.h
      d163ad33
  4. 25 Jan, 2016 1 commit
    • Olivier Bertrand's avatar
      - Fix to MDEV-9446 (using Json UDFs when CONNECT is not installed) · 8fb34ea8
      Olivier Bertrand authored
        modified:   storage/connect/ha_connect.cc
        modified:   storage/connect/jsonudf.cpp
        modified:   storage/connect/jsonudf.h
        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
      8fb34ea8
  5. 18 Jan, 2016 1 commit
  6. 09 Jan, 2016 1 commit
  7. 27 Dec, 2015 1 commit
  8. 14 Dec, 2015 1 commit
  9. 13 Dec, 2015 1 commit
  10. 11 Dec, 2015 2 commits
  11. 08 Dec, 2015 2 commits
    • Olivier Bertrand's avatar
      Merge branch 'ob-10.1' into 10.1 · 32393e22
      Olivier Bertrand authored
      32393e22
    • Olivier Bertrand's avatar
      - Serialize: Protect again eventual longjmp's. · a18a3fbd
      Olivier Bertrand authored
      Always return NULL on error.
      Adding also the file length.
        modified:   storage/connect/json.cpp
        modified:   storage/connect/jsonudf.cpp
      
      - JSONCOL::WriteColumn Add types SHORT and BIGINT as accepted
        modified:   storage/connect/tabjson.cpp
      
      - TDBJSN: Make this type use a separate storage for Json parsing
      and retrieve this memory between each rows. This is necessary
      to be able to handle big tables. See MDEV-9228.
        modified:   storage/connect/tabjson.cpp
        modified:   storage/connect/tabjson.h
      a18a3fbd
  12. 05 Dec, 2015 1 commit
  13. 04 Dec, 2015 1 commit
    • 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
  14. 22 Nov, 2015 2 commits
    • Olivier Bertrand's avatar
      Remove commented lines. · 8a860fda
      Olivier Bertrand authored
        modified:   storage/connect/value.cpp
      Avoid warning on redefined XSTR
        modified:   storage/connect/tabxml.cpp
      8a860fda
    • Olivier Bertrand's avatar
      Make changes required by version 10.1.9 (see Sergei's mmail): · 1d239d8c
      Olivier Bertrand authored
      Use PlgDBSuballoc in JbinAlloc to avoid unsupported longjmp's.
        modified:   storage/connect/ha_connect.cc
        modified:   storage/connect/jsonudf.cpp
        modified:   storage/connect/jsonudf.h
        modified:   storage/connect/mysql-test/connect/r/json_udf.result
        modified:   storage/connect/mysql-test/connect/t/json_udf.inc
        modified:   storage/connect/tabjson.cpp
        modified:   storage/connect/value.cpp
      Add new UDF functions jsoncontains, jsoncontains_path, json_set_item,
      json_insert_item, json_update_item, jbin_set_item, jbin_insert_item,
      jbin_update_item
        modified:   storage/connect/json.cpp
        modified:   storage/connect/json.h
        modified:   storage/connect/jsonudf.cpp
        modified:   storage/connect/jsonudf.h
      1d239d8c
  15. 08 Nov, 2015 2 commits
  16. 25 Oct, 2015 3 commits
    • Olivier Bertrand's avatar
      Fix error and warnings raised by gcc on Linux: · e7fa7e08
      Olivier Bertrand authored
       Define O_RDONLY in jsonudf.cpp
       Correct wrong deinit function names
       Make Locate functions use the variable more
       Avoid signed/unsigned warning in ha_connect.cc GetIntegerTableOption
       Initialize oom in tabodbc MakeInsert
        modified:   storage/connect/ha_connect.cc
        modified:   storage/connect/jsonudf.cpp
        modified:   storage/connect/tabodbc.cpp
      e7fa7e08
    • Olivier Bertrand's avatar
      Fix error and warnings raised by gcc on Linux: · abe87bb0
      Olivier Bertrand authored
       Define O_RDONLY in jsonudf.cpp
       Correct wrong deinit function names
       Make Locate functions use the variable more
       Avoid signed/unsigned warning in ha_connect.cc GetIntegerTableOption
       Initialize oom in tabodbc MakeInsert
        modified:   storage/connect/ha_connect.cc
        modified:   storage/connect/jsonudf.cpp
        modified:   storage/connect/tabodbc.cpp
      abe87bb0
    • Buggynours's avatar
      Fix of error and warnings when compiling on linux · de197212
      Buggynours authored
      	modifié :         storage/connect/ha_connect.cc
      	modifié :         storage/connect/jsonudf.cpp
      	nouveau fichier : storage/connect/mysql-test/connect/r/odbc_firebird.result
      	modifié :         storage/connect/mysql-test/connect/t/json.test
      	nouveau fichier : storage/connect/mysql-test/connect/t/odbc_firebird.test
      	modifié :         storage/connect/tabodbc.cpp
      	supprimé :        storage/connect/Makefile
      de197212
  17. 21 Oct, 2015 1 commit
  18. 20 Oct, 2015 1 commit
  19. 18 Oct, 2015 1 commit
    • Olivier Bertrand's avatar
      Fix MDEV-8926 · 7cd9af69
      Olivier Bertrand authored
        modified:   storage/connect/ha_connect.cc
        modified:   storage/connect/mysql-test/connect/r/datest.result
        modified:   storage/connect/mysql-test/connect/t/datest.test
      7cd9af69
  20. 17 Oct, 2015 1 commit
    • Olivier Bertrand's avatar
      Update JSON UDFs to version 1.04.0004 · 100be0b6
      Olivier Bertrand authored
        modified:   storage/connect/json.cpp
        modified:   storage/connect/json.h
        modified:   storage/connect/jsonudf.cpp
        modified:   storage/connect/mysql-test/connect/r/json_udf.result
        modified:   storage/connect/mysql-test/connect/std_data/biblio.json
        modified:   storage/connect/mysql-test/connect/t/json_udf.inc
        modified:   storage/connect/mysql-test/connect/t/json_udf.test
        modified:   storage/connect/tabjson.cpp
      100be0b6
  21. 04 Oct, 2015 1 commit
  22. 21 Sep, 2015 1 commit
    • Olivier Bertrand's avatar
      Fold all json UDF names to lower case · a575d90f
      Olivier Bertrand authored
        modified:   storage/connect/jsonudf.cpp
        modified:   storage/connect/jsonudf.h
        modified:   storage/connect/mysql-test/connect/r/json_udf.result
        modified:   storage/connect/mysql-test/connect/t/json_udf.inc
        modified:   storage/connect/value.cpp
      a575d90f
  23. 18 Sep, 2015 2 commits
  24. 17 Sep, 2015 4 commits
  25. 16 Sep, 2015 2 commits
  26. 15 Sep, 2015 3 commits
    • Nirbhay Choubey's avatar
      MDEV-8034 : wsrep_node_address can't be IPV6 · bb529054
      Nirbhay Choubey authored
      Updated address parsing logic to include IPv6 format.
      bb529054
    • Olivier Bertrand's avatar
      Fix assert error for where clause with UDF's · f4fe1383
      Olivier Bertrand authored
          was fixed in HA_CONNECT::CondFilter moving res= pval->val_str(&tmp)
          but this was wrong. Now res is only used for strings.
      Change version number
        modified:   storage/connect/ha_connect.cc
      
      Add some new UDF's
        modified:   storage/connect/json.cpp
        modified:   storage/connect/json.h
        modified:   storage/connect/jsonudf.cpp
        modified:   storage/connect/jsonudf.h
      
      Fix change in tests json_udf
        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
      f4fe1383
    • Nirbhay Choubey's avatar
      MDEV-7873: rpl.rpl_domain_id_filter fails sporadically in buildbot #2 · 31cf362c
      Nirbhay Choubey authored
      Fix the test case : switch to save_master_gtid.inc &
      sync_with_master_gtid.inc to sync slave with master.
      31cf362c