1. 24 Dec, 2016 1 commit
  2. 23 Dec, 2016 1 commit
    • Olivier Bertrand's avatar
      Fix some XML table type bugs: · 5c0c6235
      Olivier Bertrand authored
      - in DOMNODELIST::DropItem
        if (Listp == NULL || Listp->length <= n)
          return true;
      is wrong, should be:
        if (Listp == NULL || Listp->length < n)
          return true;
      - Crash in discovery with libxml2 in XMLColumns because:
                  if (!tdp->Usedom)    // nl was destroyed
                    vp->nl = vp->pn->GetChildElements(g);
      is executed with vp->pn uninitialized. Fixed by adding:
                vp->pn = node;
      line 264.
      -In discovery with libxml2 some columns are not found.
      Because list was not recovered properly, nodes being modified and not reallocated.
      Fixed lines 214 and 277.
        modified:   storage/connect/domdoc.cpp
        modified:   storage/connect/tabxml.cpp
      
      Add support for zipped table files
        modified:   storage/connect/domdoc.cpp
        modified:   storage/connect/domdoc.h
        modified:   storage/connect/filamap.cpp
        modified:   storage/connect/filamap.h
        modified:   storage/connect/filamzip.cpp
        modified:   storage/connect/filamzip.h
        modified:   storage/connect/ha_connect.cc
        modified:   storage/connect/libdoc.cpp
        modified:   storage/connect/plgdbutl.cpp
        modified:   storage/connect/plgxml.cpp
        modified:   storage/connect/plgxml.h
        modified:   storage/connect/tabdos.cpp
        modified:   storage/connect/tabdos.h
        modified:   storage/connect/tabfmt.cpp
        modified:   storage/connect/tabjson.cpp
        modified:   storage/connect/tabxml.cpp
      5c0c6235
  3. 14 Dec, 2016 2 commits
    • Olivier Bertrand's avatar
      - MDEV-11295: developing handling files contained in ZIP file. · b3d2ac34
      Olivier Bertrand authored
        Fix bug using multiple zip files
        modified:   storage/connect/filamzip.cpp
        modified:   storage/connect/filamzip.h
        modified:   storage/connect/tabfmt.cpp
        modified:   storage/connect/tabjson.cpp
      
      - Add error msg when trying to make discovery on multiple tables
        modified:   storage/connect/tabfmt.cpp
        modified:   storage/connect/tabjson.cpp
        modified:   storage/connect/tabxml.cpp
      b3d2ac34
    • Olivier Bertrand's avatar
      - MDEV-11295: developing handling files contained in ZIP file. · 8a3fc7c0
      Olivier Bertrand authored
        Enable using multiple zip files
        modified:   storage/connect/filamzip.cpp
        modified:   storage/connect/ha_connect.cc
        modified:   storage/connect/ha_connect.h
        modified:   storage/connect/mycat.h
        modified:   storage/connect/tabdos.cpp
        modified:   storage/connect/tabdos.h
        modified:   storage/connect/tabfmt.cpp
        modified:   storage/connect/tabjson.cpp
      8a3fc7c0
  4. 11 Dec, 2016 2 commits
    • Olivier Bertrand's avatar
      - MDEV-11295: developing handling files contained in ZIP file. · 0e06a835
      Olivier Bertrand authored
        A first experimental and limited implementation.
        Add NOCRYPT preprocessor definition to avoid compiling error
        modified:   storage/connect/CMakeLists.txt
      0e06a835
    • Olivier Bertrand's avatar
      - MDEV-11295: developing handling files contained in ZIP file. · 9afa9009
      Olivier Bertrand authored
        A first experimental and limited implementation.
        modified:   storage/connect/CMakeLists.txt
        modified:   storage/connect/filamap.cpp
        new file:   storage/connect/filamzip.cpp
        new file:   storage/connect/filamzip.h
        modified:   storage/connect/ha_connect.cc
        new file:   storage/connect/ioapi.c
        new file:   storage/connect/ioapi.h
        modified:   storage/connect/mycat.cc
        modified:   storage/connect/plgdbsem.h
        modified:   storage/connect/plgdbutl.cpp
        modified:   storage/connect/tabdos.cpp
        modified:   storage/connect/tabdos.h
        modified:   storage/connect/tabfmt.cpp
        modified:   storage/connect/tabfmt.h
        modified:   storage/connect/tabjson.cpp
        modified:   storage/connect/tabjson.h
        new file:   storage/connect/tabzip.cpp
        new file:   storage/connect/tabzip.h
        new file:   storage/connect/unzip.c
        new file:   storage/connect/unzip.h
        new file:   storage/connect/zip.c
      9afa9009
  5. 02 Dec, 2016 1 commit
    • Olivier Bertrand's avatar
      - MDEV-11366 SIGBUS errors in Connect Storage Engine for ArmHF and MIPS. · c6a72d2c
      Olivier Bertrand authored
        Fix includes launchpad fix plus more to cover writing BIN tables.
        modified:   storage/connect/tabfix.cpp
        modified:   storage/connect/value.cpp
        modified:   storage/connect/value.h
      
      - Typo: Change the name of filamzip to filamgz to prepare future ZIP tables.
        modified:   storage/connect/CMakeLists.txt
        added:      storage/connect/filamgz.cpp
        added:      storage/connect/filamgz.h
        deleted:    storage/connect/filamzip.cpp
        deleted:    storage/connect/filamzip.h
        modified:   storage/connect/plgdbsem.h
        modified:   storage/connect/reldef.cpp
        modified:   storage/connect/tabdos.cpp
        modified:   storage/connect/tabdos.h
        modified:   storage/connect/tabfix.cpp
        modified:   storage/connect/tabfmt.cpp
        modified:   storage/connect/tabjson.cpp
      c6a72d2c
  6. 27 Nov, 2016 2 commits
  7. 14 Nov, 2016 2 commits
  8. 13 Nov, 2016 3 commits
    • Olivier Bertrand's avatar
      - MDEV-11067 suggested to add configuration support to the Apache wrapper. · 0bec832f
      Olivier Bertrand authored
        Suppress / from the INSTALL command.
        modified:   storage/connect/CMakeLists.txt
      0bec832f
    • Olivier Bertrand's avatar
      - MDEV-11067 suggested to add configuration support to the Apache wrapper. · db926c38
      Olivier Bertrand authored
        Directly install a precompiled JavaWrappers.jar file.
        modified:   storage/connect/CMakeLists.txt
        added:      storage/connect/JavaWrappers.jar
        removed:    storage/connect/ApacheInterface.class
        removed:    storage/connect/JdbcInterface.class
        removed:    storage/connect/MariadbInterface.class
        removed:    storage/connect/MysqlInterface.class
        removed:    storage/connect/OracleInterface.class
        removed:    storage/connect/PostgresqlInterface.class
      db926c38
    • Olivier Bertrand's avatar
      - Fix MDEV-11267. Insert NULL into JDBC table does not work. · bc65996b
      Olivier Bertrand authored
        Fixed in JDBConn::SetParam and adding java function SetNullParm.
        modified:   storage/connect/jdbconn.cpp
        modified:   storage/connect/JdbcInterface.java
        modified:   storage/connect/mysql-test/connect/disabled.def
        modified:   storage/connect/mysql-test/connect/r/jdbc_new.result
        modified:   storage/connect/mysql-test/connect/std_data/JdbcMariaDB.jar
      
      - MDEV-11067 suggested to add configuration support to the Apache wrapper.
        Uncommented out to test if it works.
        modified:   storage/connect/CMakeLists.txt
        added:      storage/connect/ApacheInterface.class
        added:      storage/connect/JdbcInterface.class
        added:      storage/connect/MariadbInterface.class
        added:      storage/connect/MysqlInterface.class
        added:      storage/connect/OracleInterface.class
        added:      storage/connect/PostgresqlInterface.class
      bc65996b
  9. 06 Nov, 2016 1 commit
    • Olivier Bertrand's avatar
      - Fix MDEV-11234. Escape quoting character. Should be doubled. · cde07461
      Olivier Bertrand authored
        Now it is also possible to escape it by a backslash.
        modified:   storage/connect/tabfmt.cpp
      
      - Prepare making VEC table type support conditional.
        VEC tables might be unsupported in future versions
        modified:   storage/connect/CMakeLists.txt
        modified:   storage/connect/mycat.cc
        modified:   storage/connect/reldef.cpp
        modified:   storage/connect/xindex.cpp
      
      - MDEV-11067 suggested to add configuration support to the Apache wrapper.
        Was added but commented out until prooved it is really useful.
        modified:   storage/connect/ApacheInterface.java
        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
      
      - Remove useless members.
        modified:   storage/connect/jdbconn.cpp
        modified:   storage/connect/jdbconn.h
      
      - New UDF countin.
        modified:   storage/connect/jsonudf.cpp
        modified:   storage/connect/jsonudf.h
      cde07461
  10. 14 Oct, 2016 1 commit
  11. 05 Oct, 2016 1 commit
  12. 16 Sep, 2016 1 commit
  13. 05 Sep, 2016 2 commits
  14. 02 Sep, 2016 2 commits
  15. 31 Aug, 2016 2 commits
  16. 30 Aug, 2016 1 commit
  17. 29 Aug, 2016 2 commits
  18. 27 Aug, 2016 1 commit
  19. 26 Aug, 2016 3 commits
  20. 25 Aug, 2016 5 commits
  21. 24 Aug, 2016 4 commits