1. 26 Apr, 2016 1 commit
  2. 24 Apr, 2016 1 commit
    • Olivier Bertrand's avatar
      - Fix an error causing MYSQL table to fail saying "no result set" · c086a96b
      Olivier Bertrand authored
        when joining a table to a MYSQL indexed table.
        modified:   storage/connect/myconn.cpp
        modified:   storage/connect/myconn.h
        modified:   storage/connect/tabmysql.cpp
      
      - Fix an error causing JDBC table to fail saying
        when joining a table to a JDBC indexed table.
        added:      storage/connect/tabjdbc.cpp
      
      - Add more tests to the mysql_index.test file
        modified:   storage/connect/mysql-test/connect/r/mysql_index.result
        modified:   storage/connect/mysql-test/connect/t/mysql_index.test
      
      - Add dummy JDBC support (NIY)
        modified:   storage/connect/CMakeLists.txt
      
      - Typo
        modified:   storage/federatedx/ha_federatedx.cc
      c086a96b
  3. 23 Apr, 2016 1 commit
    • Olivier Bertrand's avatar
      - Fix and error causing remote indexing to fail when for not unique index. · afecdd24
      Olivier Bertrand authored
        Was experienced with MYSQL, ODBC and JDBC tables.
        modified:   storage/connect/connect.cc
      
      - Fix MDEV-9966 (zero lines returned)
        modified:   storage/connect/ha_connect.cc
        modified:   storage/federatedx/ha_federatedx.cc
      
      - Typo
        modified:   storage/connect/odbconn.cpp
        modified:   storage/connect/reldef.cpp
        modified:   storage/connect/tabmysql.cpp
      
      - Add new table type JDBC
        modified:   storage/connect/ha_connect.cc
        modified:   storage/connect/mycat.cc
        modified:   storage/connect/plgdbsem.h
        modified:   storage/connect/plgdbutl.cpp
        modified:   storage/connect/tabodbc.cpp
        added:      storage/connect/jdbccat.h
        added:      storage/connect/jdbconn.cpp
        added:      storage/connect/jdbconn.h
        added:      storage/connect/tabjdbc.cpp
        added:      storage/connect/tabjdbc.h
      afecdd24
  4. 25 Mar, 2016 1 commit
  5. 24 Mar, 2016 1 commit
  6. 19 Mar, 2016 1 commit
  7. 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
  8. 19 Feb, 2016 1 commit
  9. 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
  10. 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
  11. 18 Jan, 2016 1 commit
  12. 09 Jan, 2016 1 commit
  13. 27 Dec, 2015 1 commit
  14. 14 Dec, 2015 1 commit
  15. 13 Dec, 2015 1 commit
  16. 11 Dec, 2015 2 commits
  17. 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
  18. 05 Dec, 2015 1 commit
  19. 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
  20. 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
  21. 08 Nov, 2015 2 commits
  22. 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
  23. 21 Oct, 2015 1 commit
  24. 20 Oct, 2015 1 commit
  25. 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
  26. 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
  27. 04 Oct, 2015 1 commit
  28. 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
  29. 18 Sep, 2015 2 commits
  30. 17 Sep, 2015 3 commits