1. 01 Mar, 2017 1 commit
    • Olivier Bertrand's avatar
      Update version number and date · 180fe61c
      Olivier Bertrand authored
        modified:   storage/connect/ha_connect.cc
      
      Add conditional SE exception support
        modified:   storage/connect/json.cpp
        modified:   storage/connect/plgdbutl.cpp
      
      Change %p in %x in some sprintf functions.
      This to avoid some compiler warnings.
        modified:   storage/connect/tabwmi.cpp
        modified:   storage/connect/tabxml.cpp
        modified:   storage/connect/value.h
      
      Add JavaWrappers.jar to the class path
        modified:   storage/connect/jdbconn.cpp
      
      Fix wrong declare (char *buf[256]; --> char  buf[256];)
        modified:   storage/connect/xindex.cpp
      180fe61c
  2. 24 Feb, 2017 1 commit
  3. 14 Feb, 2017 4 commits
    • Olivier Bertrand's avatar
      Fix gcc compile error on friend declaration. · 403ef991
      Olivier Bertrand authored
      "friend TDBEXT" must specified as "friend class TDBEXT"
        modified:   storage/connect/tabext.h
      403ef991
    • Olivier Bertrand's avatar
      Fix gcc compile error on strlwr. · 6aa144f8
      Olivier Bertrand authored
        modified:   storage/connect/tabext.cpp
      6aa144f8
    • Olivier Bertrand's avatar
      Add the tabext.cpp and tabext.h files in the source list. · 41b4ef43
      Olivier Bertrand authored
        modified:   storage/connect/CMakeLists.txt
      41b4ef43
    • Olivier Bertrand's avatar
      This is a major update concerning many source files. · 5c2c68d4
      Olivier Bertrand authored
      Fix MDEV-12035.
        modified:   storage/connect/jsonudf.cpp
      
      Working on MDEV-11832: Srcdef performance enhancement
      This require to mark place holders into srcdef to indicate where to insert
      the where/having clauses that are retrieved in push_cond.
      However this also make necessary to handle aliases in the srcdef.
      This was the opportunity to base all external tables on common classes
      called EXTDEF, TABEXT and EXTCOL.
        modified:   storage/connect/array.cpp
        modified:   storage/connect/array.h
        modified:   storage/connect/colblk.cpp
        modified:   storage/connect/connect.cc
        modified:   storage/connect/filamdbf.cpp
        modified:   storage/connect/ha_connect.cc
        modified:   storage/connect/jdbconn.cpp
        modified:   storage/connect/mycat.cc
        modified:   storage/connect/myconn.cpp
        modified:   storage/connect/odbconn.cpp
        modified:   storage/connect/plgdbsem.h
        modified:   storage/connect/reldef.cpp
        modified:   storage/connect/reldef.h
        modified:   storage/connect/tabdos.cpp
        modified:   storage/connect/tabdos.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/tabjson.h
        modified:   storage/connect/table.cpp
        modified:   storage/connect/tabmac.cpp
        modified:   storage/connect/tabmac.h
        modified:   storage/connect/tabmul.cpp
        modified:   storage/connect/tabmul.h
        modified:   storage/connect/tabmysql.cpp
        modified:   storage/connect/tabmysql.h
        modified:   storage/connect/taboccur.cpp
        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/tabtbl.cpp
        modified:   storage/connect/tabutil.cpp
        modified:   storage/connect/tabutil.h
        modified:   storage/connect/tabvct.cpp
        modified:   storage/connect/tabvct.h
        modified:   storage/connect/tabvir.cpp
        modified:   storage/connect/tabwmi.cpp
        modified:   storage/connect/tabxcl.cpp
        modified:   storage/connect/tabxcl.h
        modified:   storage/connect/tabxml.cpp
        modified:   storage/connect/tabxml.h
        modified:   storage/connect/xindex.cpp
        modified:   storage/connect/xindex.h
        modified:   storage/connect/xobject.h
        modified:   storage/connect/xtable.h
        added:      storage/connect/tabext.cpp
        added:      storage/connect/tabext.h
      5c2c68d4
  4. 17 Jan, 2017 1 commit
  5. 16 Jan, 2017 5 commits
    • Olivier Bertrand's avatar
      Fix gcc errors and warnings. · 286819ae
      Olivier Bertrand authored
        modified:   storage/connect/filamzip.cpp
      
      Remove unused variables in connect_assisted_discovery
        modified:   storage/connect/ha_connect.cc
      286819ae
    • Olivier Bertrand's avatar
      Add #include <fnmatch.h> · b1bd990e
      Olivier Bertrand authored
          #include <dirent.h>
      to avoid compile error on Linux.
        modified:   storage/connect/filamzip.cpp
      b1bd990e
    • Olivier Bertrand's avatar
      Add #include <fnmatch.h> · c7446dae
      Olivier Bertrand authored
          #include <stdlib.h>
          #include <stdio.h>
          #include <string.h>
      to avoid compile error on Linux.
        modified:   storage/connect/filamzip.cpp
      c7446dae
    • Olivier Bertrand's avatar
      Add #include <fnmatch.h> to avoid compile error on Linux. · 0cb9369b
      Olivier Bertrand authored
        modified:   storage/connect/filamzip.cpp
      
      Remove unused file
        deleted:    storage/connect/JdbcInterface.jar
      0cb9369b
    • Olivier Bertrand's avatar
      Fix info cardinality for catalog tables. · 707cd985
      Olivier Bertrand authored
      Was returning 0, which caused an assert error when retreiving records.
        modified:   storage/connect/connect.cc
        modified:   storage/connect/xtable.h
      
      Add the create and insert possibility to zipped tables
        modified:   storage/connect/domdoc.cpp
        modified:   storage/connect/domdoc.h
        modified:   storage/connect/filamzip.cpp
        modified:   storage/connect/filamzip.h
        modified:   storage/connect/ha_connect.c
        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/tabfmt.h
        modified:   storage/connect/tabjson.cpp
        modified:   storage/connect/tabxml.cpp
        modified:   storage/connect/tabzip.cpp
        modified:   storage/connect/tabzip.h
      
      Fix skipping header record for mulentries zipped CSV tabled
        modified:   storage/connect/filamap.cpp
      
      Accept M (memo) column type for DBF tables
      Fix miscalculation of Blksize when LRECL was replaced by DBF LRECL
        modified:   storage/connect/filamdbf.cpp
      
      Change the names of GZ compress classes (not to be confused with ZIP)
        modified:   storage/connect/filamgz.cpp
        modified:   storage/connect/filamgz.h
      
      add trace in PlugSetPath
        modified:   storage/connect/plugutil.c
      
      Add tests fir ZIP
        added:      storage/connect/mysql-test/connect/r/xml_zip.result
        added:      storage/connect/mysql-test/connect/r/zip.result
        added:      storage/connect/mysql-test/connect/std_data/bios.json
        added:      storage/connect/mysql-test/connect/std_data/xsample2.xml
        added:      storage/connect/mysql-test/connect/t/have_zip.inc
        added:      storage/connect/mysql-test/connect/t/xml_zip.test
        added:      storage/connect/mysql-test/connect/t/zip.test
      707cd985
  6. 24 Dec, 2016 2 commits
  7. 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
  8. 22 Dec, 2016 3 commits
  9. 21 Dec, 2016 3 commits
  10. 20 Dec, 2016 2 commits
  11. 19 Dec, 2016 2 commits
  12. 15 Dec, 2016 1 commit
  13. 14 Dec, 2016 7 commits
  14. 13 Dec, 2016 1 commit
    • Jan Lindström's avatar
      MDEV-10368: get_latest_version() called too often · 72cc73ce
      Jan Lindström authored
      Reduce the number of calls to encryption_get_key_get_latest_version
      when doing key rotation with two different methods:
      
      (1) We need to fetch key information when tablespace not yet
      have a encryption information, invalid keys are handled now
      differently (see below). There was extra call to detect
      if key_id is not found on key rotation.
      
      (2) If key_id is not found from encryption plugin, do not
      try fetching new key_version for it as it will fail anyway.
      We store return value from encryption_get_key_get_latest_version
      call and if it returns ENCRYPTION_KEY_VERSION_INVALID there
      is no need to call it again.
      72cc73ce
  15. 12 Dec, 2016 3 commits
  16. 11 Dec, 2016 3 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
    • Elena Stepanova's avatar
      5d9ca522
    • 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