1. 30 Aug, 2017 1 commit
  2. 29 Aug, 2017 1 commit
    • Olivier Bertrand's avatar
      - New distribution enabling or disabling the MONGO table type · 5c42d86a
      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
      5c42d86a
  3. 27 Aug, 2017 2 commits
    • Olivier Bertrand's avatar
      Merge branch 'ob-10.1' into 10.1 · af727451
      Olivier Bertrand authored
      af727451
    • Olivier Bertrand's avatar
      - Fix MDEV-13621 JDBC UPDATE containing single or double quote chars produces wrong result · 5b998bf9
      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
        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/mysql-test/connect/r/updelx.result
      
      - Add the GetCsName function
        modified:   storage/connect/reldef.h
      5b998bf9
  4. 20 Aug, 2017 2 commits
  5. 18 Aug, 2017 2 commits
  6. 13 Aug, 2017 2 commits
  7. 11 Aug, 2017 3 commits
  8. 10 Aug, 2017 1 commit
  9. 06 Aug, 2017 2 commits
  10. 10 Jun, 2017 1 commit
  11. 08 Jun, 2017 1 commit
  12. 06 Jun, 2017 1 commit
  13. 28 May, 2017 2 commits
  14. 23 May, 2017 2 commits
    • Olivier Bertrand's avatar
      Fix bug: Discovery of JSON table fails in DEBUG mode · e720e502
      Olivier Bertrand authored
      when NO MONGO support. (tdb->Uri is uninitialized)
        modified:   storage/connect/tabjson.cpp
      e720e502
    • Olivier Bertrand's avatar
      Fix gcc compiler warnings reported by Sergei · 37235293
      Olivier Bertrand authored
        modified:   storage/connect/array.cpp
        modified:   storage/connect/array.h
        modified:   storage/connect/blkfil.cpp
        modified:   storage/connect/blkfil.h
        modified:   storage/connect/block.h
        modified:   storage/connect/colblk.cpp
        modified:   storage/connect/colblk.h
        modified:   storage/connect/csort.h
        modified:   storage/connect/filamvct.cpp
        modified:   storage/connect/filter.cpp
        modified:   storage/connect/filter.h
        modified:   storage/connect/global.h
        modified:   storage/connect/json.h
        modified:   storage/connect/plgdbsem.h
        modified:   storage/connect/plgdbutl.cpp
        modified:   storage/connect/tabcol.cpp
        modified:   storage/connect/tabcol.h
        modified:   storage/connect/tabdos.cpp
        modified:   storage/connect/tabdos.h
        modified:   storage/connect/tabjson.cpp
        modified:   storage/connect/table.cpp
        modified:   storage/connect/tabodbc.cpp
        modified:   storage/connect/tabodbc.h
        modified:   storage/connect/tabsys.h
        modified:   storage/connect/tabxml.h
        modified:   storage/connect/value.cpp
        modified:   storage/connect/value.h
        modified:   storage/connect/xindex.cpp
        modified:   storage/connect/xindex.h
        modified:   storage/connect/xobject.cpp
        modified:   storage/connect/xobject.h
        modified:   storage/connect/xtable.h
      
      Set values as nullable when retrieving catalog info
        modified:   storage/connect/jdbconn.cpp
        modified:   storage/connect/mysql-test/connect/r/odbc_oracle.result
        modified:   storage/connect/odbconn.cpp
      
      Change format of Jpath
        modified:   storage/connect/json.cpp
        modified:   storage/connect/jsonudf.cpp
        modified:   storage/connect/mysql-test/connect/r/json.result
        modified:   storage/connect/mysql-test/connect/r/json_udf.result
        modified:   storage/connect/mysql-test/connect/r/json_udf_bin.result
        modified:   storage/connect/mysql-test/connect/r/zip.result
        modified:   storage/connect/mysql-test/connect/t/json.test
        modified:   storage/connect/mysql-test/connect/t/json_udf.test
        modified:   storage/connect/mysql-test/connect/t/json_udf_bin.test
        modified:   storage/connect/mysql-test/connect/t/zip.test
        modified:   storage/connect/tabjson.cpp
        modified:   storage/connect/tabjson.h
        modified:   storage/connect/tabmgo.cpp
      
      Change null representation from ??? to <null>
        modified:   storage/connect/json.cpp
      
      Change the name of UDF that are equal to a native JSON function name
        modified:   storage/connect/jsonudf.cpp
        modified:   storage/connect/jsonudf.h
        modified:   storage/connect/mysql-test/connect/t/json_udf.inc
        modified:   storage/connect/mysql-test/connect/t/json_udf2.inc
      
      Fix bug in making JSON project info
        modified:   storage/connect/mongofam.cpp
      
      Fix COMPUTE when one argument is null
        modified:   storage/connect/value.cpp
      
      Value is null only when nullable
        modified:   storage/connect/value.h
      37235293
  15. 12 May, 2017 2 commits
  16. 11 May, 2017 3 commits
    • Olivier Bertrand's avatar
      Merge branch 'ob-10.1' into 10.1 · b9dfbc15
      Olivier Bertrand authored
      b9dfbc15
    • Olivier Bertrand's avatar
      Fix wrong value of JSON column · ea7081bf
      Olivier Bertrand authored
      When null and the column is NOT NULL the value was not reset.
        modified:   storage/connect/tabjson.cpp
      ea7081bf
    • Olivier Bertrand's avatar
      Fix converting bstr_t string to set error message · 2195f5dc
      Olivier Bertrand authored
        modified:   storage/connect/domdoc.cpp
      
      Fix MDEV-12768: -Wformat-overflow compile warnings
        modified:   storage/connect/global.h
        modified:   storage/connect/jsonudf.cpp
        modified:   storage/connect/plugutil.cpp
        modified:   storage/connect/tabvct.cpp
      
      Typo (in external_lock)
        modified:   storage/connect/ha_connect.cc
      
      Remove some warnings
        modified:   storage/connect/odbconn.cpp
        modified:   storage/connect/tabmysql.cpp
      
      Add MEM_RESERVE flag to virtualAlloc
        modified:   storage/connect/plgdbutl.cpp
      
      Fix MDEV-12573:
      Accept=1 may show incorrect value for NULL column in CONNECT TBL
        modified:   storage/connect/tabutil.cpp
      
      Fix wrong setting of key size when greater than 2G
       modified:   storage/connect/xindex.cpp
      2195f5dc
  17. 08 May, 2017 3 commits
    • Olivier Bertrand's avatar
      Merge branch 'ob-10.1' into 10.1 · 9c887014
      Olivier Bertrand authored
      9c887014
    • Olivier Bertrand's avatar
      _Null_terminated_ not recognized by gcc · 9d6677b5
      Olivier Bertrand authored
      9d6677b5
    • Olivier Bertrand's avatar
      Fixing MDEV-12149: compile errors on Windows with /Zc:strictStrings · 40a56581
      Olivier Bertrand authored
      Introduce typedef PCSZ and replace PSZ by it where it matters
      All done on CONNECT but compile still fails because of an included system file
        modified:   storage/connect/array.cpp
        modified:   storage/connect/catalog.h
        modified:   storage/connect/colblk.cpp
        modified:   storage/connect/colblk.h
        modified:   storage/connect/domdoc.cpp
        modified:   storage/connect/domdoc.h
        modified:   storage/connect/filamdbf.cpp
        modified:   storage/connect/filamdbf.h
        modified:   storage/connect/filamfix.cpp
        modified:   storage/connect/filamgz.cpp
        modified:   storage/connect/filamvct.cpp
        modified:   storage/connect/filamvct.h
        modified:   storage/connect/ha_connect.cc
        modified:   storage/connect/ha_connect.h
        modified:   storage/connect/jdbconn.cpp
        modified:   storage/connect/jdbconn.h
        modified:   storage/connect/json.cpp
        modified:   storage/connect/json.h
        modified:   storage/connect/jsonudf.cpp
        modified:   storage/connect/jsonudf.h
        modified:   storage/connect/libdoc.cpp
        modified:   storage/connect/macutil.cpp
        modified:   storage/connect/myconn.cpp
        modified:   storage/connect/myutil.cpp
        modified:   storage/connect/myutil.h
        modified:   storage/connect/odbconn.cpp
        modified:   storage/connect/odbconn.h
        modified:   storage/connect/plgdbsem.h
        modified:   storage/connect/plgdbutl.cpp
        modified:   storage/connect/plgxml.cpp
        modified:   storage/connect/plgxml.h
        modified:   storage/connect/plugutil.cpp
        modified:   storage/connect/preparse.h
        modified:   storage/connect/reldef.cpp
        modified:   storage/connect/reldef.h
        modified:   storage/connect/tabdos.cpp
        modified:   storage/connect/tabdos.h
        modified:   storage/connect/tabext.cpp
        modified:   storage/connect/tabext.h
        modified:   storage/connect/tabfix.cpp
        modified:   storage/connect/tabfix.h
        modified:   storage/connect/tabfmt.cpp
        modified:   storage/connect/tabfmt.h
        modified:   storage/connect/tabjdbc.cpp
        modified:   storage/connect/tabjdbc.h
        modified:   storage/connect/tabjson.cpp
        modified:   storage/connect/table.cpp
        modified:   storage/connect/tabmac.cpp
        modified:   storage/connect/tabmgo.cpp
        modified:   storage/connect/tabmul.cpp
        modified:   storage/connect/tabmul.h
        modified:   storage/connect/tabmysql.cpp
        modified:   storage/connect/tabmysql.h
        modified:   storage/connect/tabodbc.cpp
        modified:   storage/connect/tabodbc.h
        modified:   storage/connect/tabpivot.cpp
        modified:   storage/connect/tabpivot.h
        modified:   storage/connect/tabsys.cpp
        modified:   storage/connect/tabsys.h
        modified:   storage/connect/tabutil.cpp
        modified:   storage/connect/tabutil.h
        modified:   storage/connect/tabvir.cpp
        modified:   storage/connect/tabvir.h
        modified:   storage/connect/tabxml.cpp
        modified:   storage/connect/tabxml.h
        modified:   storage/connect/tabzip.cpp
        modified:   storage/connect/tabzip.h
        modified:   storage/connect/valblk.cpp
        modified:   storage/connect/valblk.h
        modified:   storage/connect/value.cpp
        modified:   storage/connect/value.h
        modified:   storage/connect/xindex.cpp
        modified:   storage/connect/xobject.cpp
        modified:   storage/connect/xobject.h
        modified:   storage/connect/xtable.h
      40a56581
  18. 06 May, 2017 1 commit
    • Olivier Bertrand's avatar
      Prepare fixing MDEV-12149 · e7d91cd7
      Olivier Bertrand authored
      compile errors on Windows with /Zc:strictStrings
      Introduce typedef PCSZ and replace PSZ by it where it matters
        modified:    storage/connect/colblk.h
        modified:    storage/connect/connect.cc
        modified:    storage/connect/domdoc.cpp
        modified:    storage/connect/domdoc.h
        modified:    storage/connect/filamdbf.cpp
        modified:    storage/connect/filamdbf.h
        modified:    storage/connect/filamtxt.h
        modified:    storage/connect/filamvct.cpp
        modified:    storage/connect/filamvct.h
        modified:    storage/connect/filamzip.cpp
        modified:    storage/connect/filamzip.h
        modified:    storage/connect/ha_connect.cc
        modified:    storage/connect/ha_connect.h
        modified:    storage/connect/jdbccat.h
        modified:    storage/connect/jdbconn.cpp
        modified:    storage/connect/jdbconn.h
        modified:    storage/connect/odbccat.h
        modified:    storage/connect/odbconn.cpp
        modified:    storage/connect/odbconn.h
        modified:    storage/connect/os.h
        modified:    storage/connect/plgdbsem.h
        modified:    storage/connect/plgxml.cpp
        modified:    storage/connect/plgxml.h
        modified:    storage/connect/reldef.cpp
        modified:    storage/connect/reldef.h
        modified:    storage/connect/tabdos.h
        modified:    storage/connect/tabext.cpp
        modified:    storage/connect/tabext.h
        modified:    storage/connect/tabfix.h
        modified:    storage/connect/tabfmt.cpp
        modified:    storage/connect/tabjdbc.cpp
        modified:    storage/connect/tabjdbc.h
        modified:    storage/connect/tabjson.cpp
        modified:    storage/connect/tabjson.h
        modified:    storage/connect/tabmgo.h
        modified:    storage/connect/tabmul.h
        modified:    storage/connect/tabmysql.cpp
        modified:    storage/connect/tabmysql.h
        modified:    storage/connect/tabodbc.cpp
        modified:    storage/connect/tabodbc.h
        modified:    storage/connect/tabsys.h
        modified:    storage/connect/tabwmi.cpp
        modified:    storage/connect/tabwmi.h
        modified:    storage/connect/tabxml.cpp
        modified:    storage/connect/tabxml.h
        modified:    storage/connect/tabzip.h
        modified:    storage/connect/xobject.cpp
        modified:    storage/connect/xobject.h
        modified:    storage/connect/xtable.h
      e7d91cd7
  19. 05 May, 2017 1 commit
    • Olivier Bertrand's avatar
      Fix MDEV-12603 Insert replaces values in ZIP file · d75d61cd
      Olivier Bertrand authored
        modified:   storage/connect/filamzip.cpp
        modified:   storage/connect/filamzip.h
      
      Fix MDEV-12686 Handle null in json
      Fix MDEV-12688 Insert does not handle type TINYINT
        modified:   storage/connect/json.cpp
        modified:   storage/connect/tabjson.cpp
      d75d61cd
  20. 04 May, 2017 1 commit
  21. 03 May, 2017 3 commits
  22. 02 May, 2017 1 commit
    • Olivier Bertrand's avatar
      Fix MDEV-12587 MariaDB CONNECT DIR Type · cd337a37
      Olivier Bertrand authored
       - Subfolder Option: SELECT Query Never Ends
        modified:   storage/connect/tabmul.cpp
        modified:   storage/connect/tabmul.h
      
      Work on MDEV-12667 Crash when using JSON tables
        modified:   storage/connect/tabmgo.cpp
        modified:   storage/connect/connect.cc
        modified:   storage/connect/ha_connect.cc
        modified:   storage/connect/ha_connect.h
        modified:   storage/connect/plgdbutl.cpp
        modified:   storage/connect/plugutil.cpp
      
      Work on MONGO and MGO types
        modified:   storage/connect/mongofam.cpp
        modified:   storage/connect/tabmgo.cpp
        modified:   storage/connect/tabmgo.h
      
      Change Base offset for DIR tables on Linux
        modified:   storage/connect/reldef.cpp
      
      Typo
        modified:   storage/connect/catalog.h
        modified:   storage/connect/mycat.cc
        modified:   storage/connect/mycat.h
      
      Disable all json tests
        modified:   storage/connect/mysql-test/connect/disabled.def
      cd337a37
  23. 29 Apr, 2017 2 commits
    • Olivier Bertrand's avatar
      Merge branch 'ob-10.1' into 10.1 · 040ccce8
      Olivier Bertrand authored
      040ccce8
    • Olivier Bertrand's avatar
      Fix MDEV-12631 valgrind warning for zipped tables · 2f9db4ef
      Olivier Bertrand authored
        modified:   storage/connect/filamzip.cpp
      
      Add to STRING a member for testing OOM condition
        modified:   storage/connect/xtable.h
      
      Work on MONGO type and add some of its features to JSON MGO tables
        modified:   storage/connect/filter.cpp
        modified:   storage/connect/filter.h
        modified:   storage/connect/ha_connect.cc
        modified:   storage/connect/mongofam.cpp
        modified:   storage/connect/mongofam.h
        modified:   storage/connect/tabjson.cpp
        modified:   storage/connect/tabjson.h
        modified:   storage/connect/tabmgo.cpp
        modified:   storage/connect/tabmgo.h
      2f9db4ef