1. 08 Apr, 2014 2 commits
    • Olivier Bertrand's avatar
      - Add the "skipcol" option to Pivot tables. · be1ee90b
      Olivier Bertrand authored
      modified:
        storage/connect/ha_connect.cc
        storage/connect/tabpivot.cpp
        storage/connect/tabpivot.h
      be1ee90b
    • Olivier Bertrand's avatar
      - Add index read previous capacity. · 16893bc0
      Olivier Bertrand authored
      modified:
        storage/connect/ha_connect.cc
        storage/connect/ha_connect.h
        storage/connect/xindex.cpp
      
      - Optimize retrieving numeric values in scan_record. Was previously
        translating numeric values to character representation back and forth.
      modified:
        storage/connect/ha_connect.cc
        storage/connect/mysql-test/connect/r/xml.result
      
      - Modify Pivot table creation to avoid reading the entire source table
        when making columns from Discovery. MDEV-6024
      modified:
        storage/connect/tabpivot.cpp
      16893bc0
  2. 05 Apr, 2014 1 commit
    • Olivier Bertrand's avatar
      - Make memory allocation of VALBLK's more flexible (can be allocated · b43e82dc
      Olivier Bertrand authored
        normally when too big to be suballocated) to handle big results.
      modified:
        storage/connect/valblk.cpp
        storage/connect/valblk.h
      
      - Add system variable connect_work_size giving the size of the CONNECT
        work area used for memory allocation.
      modified:
        storage/connect/ha_connect.cc
        storage/connect/plugutil.c
        storage/connect/user_connect.cc
      b43e82dc
  3. 03 Apr, 2014 1 commit
    • Olivier Bertrand's avatar
      - FIX MDEV-6019 and MDEV-6021 · d95e797c
      Olivier Bertrand authored
        Exhausted memory cause un-prepared long jump
        Issue proper message when PIVOT column is nullable
      modified:
        storage/connect/mysql-test/connect/r/pivot.result
        storage/connect/mysql-test/connect/t/pivot.test
        storage/connect/plgdbsem.h
        storage/connect/tabpivot.cpp
      
      - Prepare adding index_prev (not used yet)
      modified:
        storage/connect/plgdbsem.h
        storage/connect/xindex.cpp
        storage/connect/xindex.h
      d95e797c
  4. 01 Apr, 2014 1 commit
    • Olivier Bertrand's avatar
      - FIX MDEV-5989 (max(indexed) doesn't work) · 3f361af7
      Olivier Bertrand authored
        By implementing index_last
      modified:
        storage/connect/ha_connect.cc
        storage/connect/ha_connect.h
        storage/connect/xindex.cpp
      
      - Adding the TYPE_BIN Connect internal type
        (not tested and not used yet)
      modified:
        storage/connect/global.h
        storage/connect/value.cpp
        storage/connect/value.h
      3f361af7
  5. 30 Mar, 2014 2 commits
    • Olivier Bertrand's avatar
      - Fix using ~ in file name on Linux · b1ae8341
      Olivier Bertrand authored
      modified:
        storage/connect/osutil.c
        storage/connect/plugutil.c
        
      - Fix using fmt uninitialized in Tabcolumns
      modified:
        storage/connect/tabutil.cpp
      
      - Suppress gcc warning
      modified:
        storage/connect/ha_connect.cc
      b1ae8341
    • Olivier Bertrand's avatar
      - Add system variables type_conv and conv_size. This addresses the eventual · fe3cbcdf
      Olivier Bertrand authored
        conversion from TEXT to VARCHAR  in PROXY and MYSQL tables.
      modified:
        storage/connect/ha_connect.cc
        storage/connect/myconn.cpp
        storage/connect/myconn.h
        storage/connect/myutil.cpp
        storage/connect/tabmysql.cpp
        storage/connect/tabutil.cpp
      
      - Add the xmap system variable addressing whether file mapping should be used
        to handle indexing.
      modified:
        storage/connect/CMakeLists.txt
        storage/connect/ha_connect.cc
        storage/connect/xindex.cpp
        storage/connect/xindex.h
      
      - Do take care of ~ in Linux version of _fullpath (not tested yet)
      modified:
        storage/connect/osutil.c
      fe3cbcdf
  6. 29 Mar, 2014 1 commit
  7. 27 Mar, 2014 2 commits
  8. 23 Mar, 2014 1 commit
    • Olivier Bertrand's avatar
      - Should fix valgrind diag on uninitialized value · a0266bbd
      Olivier Bertrand authored
      modified:
        storage/connect/tabdos.cpp
      
      - Separate alter.test in two to take care of unsupported LIBXML2
      added:
        storage/connect/mysql-test/connect/r/alter_xml.result
        storage/connect/mysql-test/connect/t/alter_xml.test
      modified:
        storage/connect/mysql-test/connect/r/alter.result
        storage/connect/mysql-test/connect/t/alter.test
      a0266bbd
  9. 21 Mar, 2014 4 commits
  10. 19 Mar, 2014 2 commits
  11. 18 Mar, 2014 1 commit
    • Olivier Bertrand's avatar
      - FIX PIVOT bug MDEV-5869 caused by using fop (field option ptr) when NULL. · 6b63c5b2
      Olivier Bertrand authored
      modified:
        storage/connect/ha_connect.cc
      
      - Suppress the use of connect.in by adding the connect_xtrace system variable.
      modified:
        storage/connect/ha_connect.cc
      
      - Make column length, varchar, and temporal column types recognized in discovery
        when using SRCDEF,or PIVOT.
      modified:
        storage/connect/ha_connect.cc
        storage/connect/myconn.cpp
        storage/connect/myutil.cpp
        storage/connect/plgdbsem.h
      
      - Avoid (rare) crash when using DECIMAL type. (buf was too small)
      modified:
        storage/connect/tabfmt.cpp
        storage/connect/tabmysql.cpp
        storage/connect/tabodbc.cpp
        storage/connect/tabpivot.cpp
        storage/connect/valblk.cpp
        storage/connect/value.cpp
      
      - General cleaning of unused code, standardize tracing, and update version number
      modified:
        storage/connect/block.h
        storage/connect/colblk.cpp
        storage/connect/connect.cc
        storage/connect/csort.h
        storage/connect/filamap.cpp
        storage/connect/filamdbf.cpp
        storage/connect/filamfix.cpp
        storage/connect/filamzip.cpp
        storage/connect/ha_connect.cc
        storage/connect/mycat.cc
        storage/connect/myconn.cpp
        storage/connect/mysql-test/connect/r/alter.result
        storage/connect/mysql-test/connect/r/xml.result
        storage/connect/myutil.cpp
        storage/connect/osutil.c
        storage/connect/plgdbsem.h
        storage/connect/plgdbutl.cpp
        storage/connect/plugutil.c
        storage/connect/reldef.cpp
        storage/connect/tabcol.cpp
        storage/connect/tabfmt.cpp
        storage/connect/tabmysql.cpp
        storage/connect/tabodbc.cpp
        storage/connect/tabpivot.cpp
        storage/connect/tabvct.cpp
        storage/connect/user_connect.cc
        storage/connect/valblk.cpp
        storage/connect/value.cpp
        storage/connect/xindex.cpp
      6b63c5b2
  12. 10 Mar, 2014 1 commit
    • Olivier Bertrand's avatar
      - NOTE: an experimental implementation of MRR was done but not kept · e5729127
      Olivier Bertrand authored
        in this version. Sure enough, it never caused any improvement in
        the execution speed and rather caused a small increase of execution
        time. This is probably because values are sorted by rowid in each
        range of CONNECT indexes. This could be reconsidered if a customer
        have a need for processing very big files.
      
      - Fix a bug in ha_connect::CheckCond. The negated form of BETWEEN and
        IS NULL operators was not recognized.
      modified:
        storage/connect/ha_connect.cc
      
      - Add long jump initialization in CntReadNext. This was causing a server
        crash when an error occured in a ReadColumn.
      modified:
        storage/connect/connect.cc
      
      - General cleanup of CONNECT source code eliminating all code not used by
        CONNECT, including the MRR test code (saved separately).
      modified:
        storage/connect/catalog.h
        storage/connect/colblk.cpp
        storage/connect/colblk.h
        storage/connect/connect.cc
        storage/connect/connect.h
        storage/connect/domdoc.h
        storage/connect/filamap.cpp
        storage/connect/filamap.h
        storage/connect/filamdbf.h
        storage/connect/filamfix.cpp
        storage/connect/filamfix.h
        storage/connect/filamtxt.cpp
        storage/connect/filamtxt.h
        storage/connect/filamvct.cpp
        storage/connect/filamvct.h
        storage/connect/filamzip.cpp
        storage/connect/filamzip.h
        storage/connect/global.h
        storage/connect/ha_connect.cc
        storage/connect/ha_connect.h
        storage/connect/myconn.h
        storage/connect/plgcnx.h
        storage/connect/plgdbsem.h
        storage/connect/plugutil.c
        storage/connect/preparse.h
        storage/connect/reldef.cpp
        storage/connect/reldef.h
        storage/connect/tabcol.h
        storage/connect/tabdos.cpp
        storage/connect/tabdos.h
        storage/connect/tabfix.cpp
        storage/connect/tabfmt.cpp
        storage/connect/tabfmt.h
        storage/connect/table.cpp
        storage/connect/tabmac.h
        storage/connect/tabmul.h
        storage/connect/tabmysql.cpp
        storage/connect/tabmysql.h
        storage/connect/taboccur.h
        storage/connect/tabodbc.cpp
        storage/connect/tabodbc.h
        storage/connect/tabsys.cpp
        storage/connect/tabsys.h
        storage/connect/tabtbl.cpp
        storage/connect/tabtbl.h
        storage/connect/tabutil.h
        storage/connect/tabvct.cpp
        storage/connect/tabvct.h
        storage/connect/tabwmi.cpp
        storage/connect/tabwmi.h
        storage/connect/tabxml.cpp
        storage/connect/tabxml.h
        storage/connect/user_connect.cc
        storage/connect/user_connect.h
        storage/connect/valblk.cpp
        storage/connect/valblk.h
        storage/connect/value.cpp
        storage/connect/value.h
        storage/connect/xindex.cpp
        storage/connect/xindex.h
        storage/connect/xobject.cpp
        storage/connect/xobject.h
        storage/connect/xtable.h
      e5729127
  13. 05 Mar, 2014 1 commit
  14. 27 Feb, 2014 1 commit
    • Olivier Bertrand's avatar
      - Fix bug MDEV-5734 · 43362bc9
      Olivier Bertrand authored
      modified:
        storage/connect/mysql-test/connect/r/pivot.result
        storage/connect/mysql-test/connect/t/pivot.test
        storage/connect/tabmysql.cpp
        storage/connect/tabpivot.cpp
      
      - Implement a first experimental support of MRR
        (compiled only if MRRBKA_SUPPORT is defined)
      modified:
        storage/connect/colblk.h
        storage/connect/connect.cc
        storage/connect/connect.h
        storage/connect/global.h
        storage/connect/ha_connect.cc
        storage/connect/ha_connect.h
        storage/connect/plugutil.c
        storage/connect/user_connect.cc
      43362bc9
  15. 16 Feb, 2014 2 commits
    • Olivier Bertrand's avatar
      - Make alter.test to work on both Windows and Linux · 1699947e
      Olivier Bertrand authored
      modified:
        storage/connect/mysql-test/connect/r/alter.result
        storage/connect/mysql-test/connect/t/alter.test
      1699947e
    • Olivier Bertrand's avatar
      # This is a minor change commitment · ad9d7e85
      Olivier Bertrand authored
      - Fix accidental crash when closing domdoc xml table
      modified:
        storage/connect/domdoc.cpp
      
      - Update table and index flags. Correct version number in maria_declare_plugin.
      modified:
        storage/connect/ha_connect.cc
        storage/connect/ha_connect.h
        storage/connect/mycat.cc
        storage/connect/mycat.h
      
      - Fix syntax error when getting columns of a non-select srcdef (discovery)
      modified:
        storage/connect/myconn.cpp
      
      - Update some tests and result according to new flag setting
      modified:
        storage/connect/mysql-test/connect/r/alter.result
        storage/connect/mysql-test/connect/r/dbf.result
        storage/connect/mysql-test/connect/t/dbf.test
      
      - Change some tracing tests to avoid too much test printed
      modified:
        storage/connect/plgdbutl.cpp
        storage/connect/tabutil.cpp
        storage/connect/value.cpp
      ad9d7e85
  16. 07 Feb, 2014 1 commit
  17. 06 Feb, 2014 1 commit
  18. 05 Feb, 2014 10 commits
  19. 04 Feb, 2014 5 commits