1. 02 Sep, 2017 3 commits
  2. 30 Aug, 2017 1 commit
    • Olivier Bertrand's avatar
      - Set MONGO_ENABLED · 36b2dec1
      Olivier Bertrand authored
        modified:   storage/connect/CMakeLists.txt
      
      - Avoid gcc warnings for "fall through"
        modified:   storage/connect/array.cpp
        modified:   storage/connect/filamdbf.cpp
        modified:   storage/connect/filamfix.cpp
        modified:   storage/connect/filamtxt.cpp
        modified:   storage/connect/filamvct.cpp
        modified:   storage/connect/filamzip.cpp
        modified:   storage/connect/filter.cpp
        modified:   storage/connect/ha_connect.cc
        modified:   storage/connect/jsonudf.cpp
        modified:   storage/connect/plgdbutl.cpp
        modified:   storage/connect/reldef.cpp
        modified:   storage/connect/tabdos.cpp
        modified:   storage/connect/tabjson.cpp
        modified:   storage/connect/xobject.cpp
      36b2dec1
  3. 29 Aug, 2017 1 commit
    • Olivier Bertrand's avatar
      - New distribution enabling or disabling the MONGO table type · 96252b6a
      Olivier Bertrand authored
        modified:   storage/connect/CMakeLists.txt
        modified:   storage/connect/ha_connect.cc
        modified:   storage/connect/mycat.cc
      
      - Extend SRCDEF parameter processing to MYSQL
        modified:   storage/connect/tabext.cpp
        modified:   storage/connect/tabext.h
        modified:   storage/connect/tabmysql.cpp
      
      - Typo
        modified:   storage/connect/mysql-test/connect/std_data/Mongo2.jar
        modified:   storage/connect/mysql-test/connect/std_data/Mongo3.jar
      96252b6a
  4. 26 Aug, 2017 2 commits
    • Olivier Bertrand's avatar
      - Fix MDEV-13621 Replace sprintf by strcpy for opval · 438211a1
      Olivier Bertrand authored
        modified:   storage/connect/ha_connect.cc
      
      - Add test output to tbl_thread.test tryng to understand failure
        modified:   storage/connect/mysql-test/connect/r/tbl_thread.result
        modified:   storage/connect/mysql-test/connect/t/tbl_thread.test
        modified:   storage/connect/tabtbl.cpp
      438211a1
    • Olivier Bertrand's avatar
      - Fix MDEV-13621 JDBC UPDATE containing single or double quote chars produces wrong result · 614611d7
      Olivier Bertrand authored
        in ha_connect::GetStringOption
        modified:   storage/connect/ha_connect.cc
      
      - Begin implement data type BINARY
        modified:   storage/connect/ha_connect.cc
        modified:   storage/connect/myutil.cpp
        modified:   storage/connect/valblk.cpp
        modified:   storage/connect/valblk.h
        modified:   storage/connect/value.cpp
      
      - Fix MDEV-12422 CONNECT Engine to support CHECK TABLE
        Adding a fake check function returning HA_ADMIN_OK.
        modified:   storage/connect/ha_connect.h
      
      - Treat TBL (thread) as local when connected to the current server
        and return by timeout when a TBL remote table connection fail (Thread only)
        modified:   storage/connect/myconn.cpp
        modified:   storage/connect/tabmysql.h
        modified:   storage/connect/tabtbl.cpp
        modified:   storage/connect/tabtbl.h
      
      - Update some tests and result files
        modified:   storage/connect/mysql-test/connect/r/tbl_thread.result
        modified:   storage/connect/mysql-test/connect/t/tbl_thread.test
        modified:   storage/connect/mysql-test/connect/r/updelx.result
      
      - Add the GetCsName function
        modified:   storage/connect/reldef.h
      614611d7
  5. 17 Aug, 2017 1 commit
    • Olivier Bertrand's avatar
      - Fix failing test tbl_thread on linux · 2db52e17
      Olivier Bertrand authored
        (and mask another fail until MDEV-10179 is fixed)
        modified:   storage/connect/mysql-test/connect/r/tbl_thread.result
        modified:   storage/connect/mysql-test/connect/t/tbl_thread.test
      2db52e17
  6. 12 Aug, 2017 1 commit
  7. 09 Aug, 2017 1 commit
    • Olivier Bertrand's avatar
      - Fix gcc compile error: crosses initialization of ‘const char* drv’ · efc8a5b6
      Olivier Bertrand authored
        modified:   storage/connect/mongo.cpp
      
      - Fix test failures
        modified:   storage/connect/mysql-test/connect/r/mysql.result
        modified:   storage/connect/mysql-test/connect/r/mysql_new.result
        modified:   storage/connect/mysql-test/connect/r/tbl_thread.result
        modified:   storage/connect/mysql-test/connect/t/tbl_thread.test
        modified:   storage/connect/tabjson.cpp
      efc8a5b6
  8. 08 Aug, 2017 5 commits
  9. 07 Aug, 2017 1 commit
    • Olivier Bertrand's avatar
      - Fix bug returning pointer to a stack string · cdf00b8d
      Olivier Bertrand authored
        in JVALUE::GetString
        modified:   storage/connect/json.cpp
        modified:   storage/connect/json.h
        modified:   storage/connect/jsonudf.cpp
      
      - Fix a compiler bug happening on some configuration and platforms
        in JSNX::CalculateArray
        modified:   storage/connect/jsonudf.cpp
      
      - Set default Schema as current directory
        This fix several bugs like:
          Fail to make JSON catalog tables
          Fail to use zipped file made by a file LOAD
        modified:   storage/connect/reldef.cpp
        modified:   storage/connect/tabjson.cpp
        modified:   storage/connect/tabjson.h
      cdf00b8d
  10. 06 Aug, 2017 2 commits
    • Olivier Bertrand's avatar
    • Olivier Bertrand's avatar
      - Add a define making ha_connect.cc source unique for all MariaDB version. · 0387c13e
      Olivier Bertrand authored
      #if defined(NEW_MAR)
      #define stored_in_db stored_in_db()
      #endif   // NEW_MAR)
        modified:   storage/connect/CMakeLists.txt
        modified:   storage/connect/ha_connect.cc
      
      - Fix compile failure for some configuration of CONNECT.
      This by updating the #ifdef's JDBC, MONGO and CMGO_SUPPORT.
        modified:   storage/connect/ha_connect.cc
        modified:   storage/connect/tabjson.cpp
        modified:   storage/connect/tabjson.h
      
      - Fix failure of zip.test (restore code wrongly deleted)
        modified:   storage/connect/tabjson.cpp
      
      - Make sure thread TBL table structure is correctly initialized.
        modified:   storage/connect/tabtbl.cpp
      
      - Add new test case in tbl_thread.test
        modified:   storage/connect/mysql-test/connect/r/tbl_thread.result
        modified:   storage/connect/mysql-test/connect/t/tbl_thread.test
      
      - Remake a jar file after Java was updated
        modified:   storage/connect/mysql-test/connect/std_data/Mongo3.jar
      0387c13e
  11. 05 Aug, 2017 1 commit
    • Olivier Bertrand's avatar
      - Add FBLOCK when opening ODBC, JSON and MONGO tables. · d8f99f16
      Olivier Bertrand authored
      This to have automatic closing in case of thrown error.
        modified:   storage/connect/cmgoconn.cpp
        modified:   storage/connect/cmgoconn.h
        modified:   storage/connect/filamzip.cpp
        modified:   storage/connect/javaconn.cpp
        modified:   storage/connect/javaconn.h
        modified:   storage/connect/odbconn.cpp
        modified:   storage/connect/odbconn.h
        modified:   storage/connect/plgdbsem.h
        modified:   storage/connect/plgdbutl.cpp
      
      - Fix INCOL bug when inserting several lines to MONGO tables
        modified:   storage/connect/cmgoconn.cpp
        modified:   storage/connect/tabcmg.cpp
        modified:   storage/connect/tabjmg.cpp
      
      - MONGO_SUPPORT is set for both MongoDB drivers
        CMGO_SUPPORT  is set only when the C driver is available
        modified:   storage/connect/CMakeLists.txt
        modified:   storage/connect/filter.h
        modified:   storage/connect/filter.h
        modified:   storage/connect/ha_connect.cc
        modified:   storage/connect/mongo.cpp
        modified:   storage/connect/mycat.cc
        modified:   storage/connect/tabjson.cpp
        modified:   storage/connect/tabjson.h
      
      - Separate enums JCATINFO and
        modified:   storage/connect/javaconn.h
        modified:   storage/connect/jdbconn.cpp
      
      - Fix crash when executing JDBC catfunc=driver
        modified:   storage/connect/jdbconn.cpp
      
      - Report an error when the Mongo driver if explicitly
      specified and not supported.
        modified:   storage/connect/mongo.cpp
      
      - Fix bug causing catalog JSON tables to fail
        modified:   storage/connect/tabjson.cpp
      
      - Protect by mutex the Ready variable of the TBLTBM table type
        modified:   storage/connect/tabtbl.cpp
      
      - Put testing of Thread TBL tables in a separate test
      With added case and modified old case that could avoid the test to fail.
        modified:   storage/connect/mysql-test/connect/r/tbl.result
        modified:   storage/connect/mysql-test/connect/t/tbl.test
        new file:   storage/connect/mysql-test/connect/r/tbl_thread.result
        new file:   storage/connect/mysql-test/connect/t/tbl_thread.test
      
      - jmongo3.test no more exists
        deleted:    storage/connect/mysql-test/connect/t/jmongo3.test
      
      - Add new tests for the MONGO feature (disabled)
        modified:   storage/connect/mysql-test/connect/disabled.def
        new file:   storage/connect/mysql-test/connect/r/json_java_2.result
        new file:   storage/connect/mysql-test/connect/r/json_java_3.result
        new file:   storage/connect/mysql-test/connect/r/json_mongo_c.result
        new file:   storage/connect/mysql-test/connect/r/mongo_c.result
        new file:   storage/connect/mysql-test/connect/r/mongo_java_2.result
        new file:   storage/connect/mysql-test/connect/r/mongo_java_3.result
        new file:   storage/connect/mysql-test/connect/std_data/Mongo2.jar
        new file:   storage/connect/mysql-test/connect/std_data/cities.json
        new file:   storage/connect/mysql-test/connect/t/json_java_2.test
        new file:   storage/connect/mysql-test/connect/t/json_java_3.test
        new file:   storage/connect/mysql-test/connect/t/json_mongo_c.test
        new file:   storage/connect/mysql-test/connect/t/mongo.inc
        new file:   storage/connect/mysql-test/connect/t/mongo_c.test
        new file:   storage/connect/mysql-test/connect/t/mongo_java_2.test
        new file:   storage/connect/mysql-test/connect/t/mongo_java_3.test
        new file:   storage/connect/mysql-test/connect/t/mongo_test.inc
      d8f99f16
  12. 28 Jul, 2017 2 commits
  13. 24 Jul, 2017 2 commits
  14. 23 Jul, 2017 3 commits
  15. 22 Jul, 2017 1 commit
  16. 21 Jul, 2017 3 commits
  17. 20 Jul, 2017 1 commit
  18. 19 Jul, 2017 2 commits
  19. 18 Jul, 2017 3 commits
    • Olivier Bertrand's avatar
      -- Check whether USERBLK still exists in PlugExit · e05920f7
      Olivier Bertrand authored
        modified:   storage/connect/connect.cc
        modified:   storage/connect/plugutil.cpp
        modified:   storage/connect/jsonudf.cpp
      
      -- Update result from json_udf test
        modified:   storage/connect/mysql-test/connect/r/json_udf.result
      e05920f7
    • Olivier Bertrand's avatar
    • Olivier Bertrand's avatar
      -- Finalize work on MongoDB access · f590296c
      Olivier Bertrand authored
         Implement discovery for the MongoDB Java Driver
         Create classes to minimize code and avoid dupicates
         Rearrange and rename implied files
        modified:   storage/connect/CMakeLists.txt
        renamed:    storage/connect/mongofam.cpp -> storage/connect/cmgfam.cpp
        renamed:    storage/connect/mongofam.h -> storage/connect/cmgfam.h
        modified:   storage/connect/cmgoconn.h
        modified:   storage/connect/javaconn.h
        modified:   storage/connect/jdbconn.cpp
        modified:   storage/connect/jmgoconn.cpp
        modified:   storage/connect/jmgoconn.h
        modified:   storage/connect/mongo.cpp
        modified:   storage/connect/mongo.h
        renamed:    storage/connect/tabmgo.cpp -> storage/connect/tabcmg.cpp
        renamed:    storage/connect/tabmgo.h -> storage/connect/tabcmg.h
        modified:   storage/connect/tabjmg.cpp
        modified:   storage/connect/tabjmg.h
        modified:   storage/connect/tabjson.cpp
        modified:   storage/connect/tabjson.h
      
      -- Trace Sarea allocation and freeing
        modified:   storage/connect/connect.cc
        modified:   storage/connect/plugutil.cpp
        modified:   storage/connect/user_connect.cc
      
      -- Null Json values where not mark as null in JSNX::SetJsonValue
         This was added in TYPE_NULL (declared as TYPE_VOID)
        modified:   storage/connect/json.cpp
        modified:   storage/connect/json.h
        modified:   storage/connect/jsonudf.cpp
      
      -- Null JValues are ignored in JSNX::CalculateArray
         Also done in tabjson.cpp for JSONCOL::CalculateArray
        modified:   storage/connect/json.h
        modified:   storage/connect/jsonudf.cpp
        modified:   storage/connect/tabjson.cpp
      
      -- Null JSON values now represented by connect_json_null session variable
        modified:   storage/connect/json.cpp
        modified:   storage/connect/json.h
        modified:   storage/connect/jsonudf.cpp
        modified:   storage/connect/tabjson.cpp
      
      -- JVALUE has size = 1
        modified:   storage/connect/json.h
      
      -- Fix by vuvova because Debian compilation failure.
        modified:   storage/connect/value.cpp
      f590296c
  20. 04 Jul, 2017 1 commit
  21. 03 Jul, 2017 2 commits
  22. 02 Jul, 2017 1 commit