1. 19 May, 2016 1 commit
  2. 12 May, 2016 3 commits
    • Olivier Bertrand's avatar
      - Remove REQUIRED option that caused compilation to fail · 7972a45b
      Olivier Bertrand authored
        Remove JVM_LIBRARY (is now dynamically loaded at run time)
        modified:   storage/connect/CMakeLists.txt
      7972a45b
    • Olivier Bertrand's avatar
      - Fix some typo ... causing crash! · 0f5ced1d
      Olivier Bertrand authored
        modified:   storage/connect/jdbconn.cpp
      0f5ced1d
    • Olivier Bertrand's avatar
      - Continue working on the JDBC table type · 6aa163bc
      Olivier Bertrand authored
        Suppress the jpath option
        add the connect_jvm_path and connect_class_path global variables
        modified:   storage/connect/ha_connect.cc
        modified:   storage/connect/jdbccat.h
        modified:   storage/connect/jdbconn.cpp
        modified:   storage/connect/jdbconn.h
        modified:   storage/connect/tabjdbc.cpp
        modified:   storage/connect/tabjdbc.h
      
      - Add the envar UDF
        modified:   storage/connect/jsonudf.cpp
        modified:   storage/connect/jsonudf.h
      
      - Fix MDEV-9950
        modified:   storage/connect/ha_connect.cc
        modified:   storage/connect/plgdbutl.cpp
      6aa163bc
  3. 09 May, 2016 1 commit
    • Olivier Bertrand's avatar
      - Make the JVM lib dynamically loaded · 2323cf00
      Olivier Bertrand authored
        This makes the CONNECT storage engine usable when Java JDK is not installed.
        modified:   storage/connect/ha_connect.cc
        modified:   storage/connect/jdbconn.cpp
        modified:   storage/connect/jdbconn.h
      
      - Typo
        modified:   storage/connect/reldef.cpp
      2323cf00
  4. 05 May, 2016 1 commit
  5. 04 May, 2016 1 commit
    • Olivier Bertrand's avatar
      - Try to fix MDEV-9950 (not tested yet) · 80a204f2
      Olivier Bertrand authored
        modified:   storage/connect/ha_connect.cc
        modified:   storage/connect/plgdbutl.cpp
      
      - Fix Mdev-9997 (Sergey Vojtovitch)
        modified:   storage/connect/inihandl.c
      
      - Try to have the JDBC type compiled by CMake
        modified:   storage/connect/CMakeLists.txt
      
      - Fixing some bugs in the JDBC table type
        Use the CONNECTION option for the URL
        modified:   storage/connect/ha_connect.cc
        modified:   storage/connect/jdbconn.cpp
        modified:   storage/connect/jdbconn.h
        modified:   storage/connect/tabjdbc.cpp
      
      - Add the JdbcInterface.class to the project
        new file:   storage/connect/JdbcInterface.class
      80a204f2
  6. 27 Apr, 2016 2 commits
  7. 26 Apr, 2016 1 commit
  8. 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
  9. 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
  10. 25 Mar, 2016 1 commit
  11. 24 Mar, 2016 1 commit
  12. 19 Mar, 2016 1 commit
  13. 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
  14. 19 Feb, 2016 1 commit
  15. 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
  16. 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
  17. 18 Jan, 2016 1 commit
  18. 09 Jan, 2016 1 commit
  19. 27 Dec, 2015 1 commit
  20. 14 Dec, 2015 1 commit
  21. 13 Dec, 2015 1 commit
  22. 11 Dec, 2015 2 commits
  23. 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
  24. 05 Dec, 2015 1 commit
  25. 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
  26. 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
  27. 08 Nov, 2015 2 commits
  28. 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
  29. 21 Oct, 2015 1 commit
  30. 20 Oct, 2015 1 commit