1. 19 Apr, 2014 2 commits
    • Olivier Bertrand's avatar
      - Commit merge files · 50953a0e
      Olivier Bertrand authored
      modified:
        storage/connect/catalog.h
        storage/connect/filamvct.cpp
        storage/connect/filamzip.cpp
        storage/connect/ha_connect.cc
        storage/connect/ha_connect.h
        storage/connect/mycat.cc
        storage/connect/mycat.h
        storage/connect/myconn.cpp
        storage/connect/mysql-test/connect/r/xml.result
        storage/connect/plgdbutl.cpp
        storage/connect/reldef.cpp
        storage/connect/reldef.h
        storage/connect/tabdos.cpp
        storage/connect/tabfmt.cpp
        storage/connect/tabmul.cpp
        storage/connect/tabmysql.cpp
        storage/connect/taboccur.cpp
        storage/connect/tabodbc.cpp
        storage/connect/tabpivot.cpp
        storage/connect/tabpivot.h
        storage/connect/tabsys.cpp
        storage/connect/tabtbl.cpp
        storage/connect/tabutil.cpp
        storage/connect/tabvct.cpp
        storage/connect/tabwmi.cpp
        storage/connect/tabxcl.cpp
        storage/connect/tabxml.cpp
        storage/connect/xindex.cpp
      50953a0e
    • Olivier Bertrand's avatar
      - Commit merged files · 81252031
      Olivier Bertrand authored
      modified:
        storage/connect/CMakeLists.txt
        storage/connect/connect.h
        storage/connect/global.h
        storage/connect/ha_connect.cc
        storage/connect/ha_connect.h
        storage/connect/myconn.cpp
        storage/connect/myconn.h
        storage/connect/mysql-test/connect/r/pivot.result
        storage/connect/mysql-test/connect/suite.pm
        storage/connect/mysql-test/connect/t/pivot.test
        storage/connect/myutil.cpp
        storage/connect/osutil.c
        storage/connect/plgdbsem.h
        storage/connect/plugutil.c
        storage/connect/tabmysql.cpp
        storage/connect/tabpivot.cpp
        storage/connect/tabutil.cpp
        storage/connect/user_connect.cc
        storage/connect/valblk.cpp
        storage/connect/valblk.h
        storage/connect/value.cpp
        storage/connect/value.h
        storage/connect/xindex.cpp
        storage/connect/xindex.h
      81252031
  2. 14 Apr, 2014 1 commit
    • Olivier Bertrand's avatar
      - In info, the file length sometimes could not be caculated because the · 213ecbbb
      Olivier Bertrand authored
        catalog data path had not been set. This was added into ha_connect::info.
      modified:
        storage/connect/ha_connect.cc
      
      - All the functions querying table options could return information from the wrong
        table when several CONNECT tables were used in the same query (for instance joined
        together) This was because they belonged to the catalog class that is shared between
        all tables in the same query. They have been moved from the catalog class to the
        TABDEF/RELDEF class that is attached to each table. This was a major potential bug.
      modified:
        storage/connect/catalog.h
        storage/connect/filamvct.cpp
        storage/connect/filamzip.cpp
        storage/connect/mycat.cc
        storage/connect/mycat.h
        storage/connect/reldef.cpp
        storage/connect/reldef.h
        storage/connect/tabdos.cpp
        storage/connect/tabfmt.cpp
        storage/connect/tabmul.cpp
        storage/connect/tabmysql.cpp
        storage/connect/taboccur.cpp
        storage/connect/tabodbc.cpp
        storage/connect/tabpivot.cpp
        storage/connect/tabsys.cpp
        storage/connect/tabtbl.cpp
        storage/connect/tabutil.cpp
        storage/connect/tabvct.cpp
        storage/connect/tabwmi.cpp
        storage/connect/tabxcl.cpp
        storage/connect/tabxml.cpp
        storage/connect/xindex.cpp
      
      - Prepare indexing of MYSQL/ODBC tables (as does FEDERATED) (Not implemented yet)
      modified:
        storage/connect/ha_connect.cc
        storage/connect/ha_connect.h
        storage/connect/mycat.cc
        storage/connect/mycat.h
      
      - Typo
      modified:
        storage/connect/plgdbutl.cpp
      213ecbbb
  3. 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
  4. 06 Apr, 2014 1 commit
    • Olivier Bertrand's avatar
      - Commit various changes · cc7a08c9
      Olivier Bertrand authored
      added:
        storage/connect/mysql-test/connect/r/alter_xml.result
        storage/connect/mysql-test/connect/t/alter_xml.test
      modified:
        storage/connect/myconn.cpp
        storage/connect/mysql-test/connect/r/alter.result
        storage/connect/mysql-test/connect/t/alter.test
        storage/connect/tabdos.cpp
      cc7a08c9
  5. 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
  6. 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
  7. 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
  8. 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
  9. 29 Mar, 2014 1 commit
  10. 27 Mar, 2014 2 commits
  11. 23 Mar, 2014 2 commits
    • Olivier Bertrand's avatar
      - Work in progress · f26be8ca
      Olivier Bertrand authored
      modified:
        storage/connect/filter.h
        storage/connect/ha_connect.cc
        storage/connect/ha_connect.h
        storage/connect/mysql-test/connect/r/alter.result
        storage/connect/mysql-test/connect/r/xml.result
      f26be8ca
    • 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
  12. 22 Mar, 2014 2 commits
    • Olivier Bertrand's avatar
      - Include last source modifs · f48d7662
      Olivier Bertrand authored
      modified:
        storage/connect/filamtxt.cpp
        storage/connect/ha_connect.cc
        storage/connect/tabxml.cpp
      f48d7662
    • Olivier Bertrand's avatar
      - Resolving conflicts · 81ce7da7
      Olivier Bertrand authored
      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/filamtxt.cpp
        storage/connect/filamzip.cpp
        storage/connect/ha_connect.cc
        storage/connect/mycat.cc
        storage/connect/myconn.cpp
        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
      81ce7da7
  13. 21 Mar, 2014 4 commits
  14. 20 Mar, 2014 1 commit
    • Olivier Bertrand's avatar
      - MRR + Block Indexing · 7b400a08
      Olivier Bertrand authored
      modified:
        storage/connect/array.h
        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/filter.cpp
        storage/connect/filter.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/plgdbutl.cpp
        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/tabmysql.cpp
        storage/connect/tabmysql.h
        storage/connect/taboccur.h
        storage/connect/tabodbc.h
        storage/connect/tabsys.h
        storage/connect/tabtbl.h
        storage/connect/tabutil.h
        storage/connect/tabvct.cpp
        storage/connect/tabvct.h
        storage/connect/tabwmi.h
        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
      7b400a08
  15. 19 Mar, 2014 2 commits
  16. 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
  17. 10 Mar, 2014 3 commits
    • Olivier Bertrand's avatar
      - Adding files needed for block indexing · d67ad26b
      Olivier Bertrand authored
      added:
        storage/connect/array.cpp
        storage/connect/array.h
        storage/connect/blkfil.cpp
        storage/connect/blkfil.h
        storage/connect/filter.cpp
        storage/connect/filter.h
      d67ad26b
    • 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
    • Olivier Bertrand's avatar
      - Temporary · 85e8aee4
      Olivier Bertrand authored
      modified:
        storage/connect/catalog.h
        storage/connect/colblk.cpp
        storage/connect/colblk.h
        storage/connect/connect.cc
        storage/connect/filamap.cpp
        storage/connect/filamfix.cpp
        storage/connect/filamfix.h
        storage/connect/filamtxt.cpp
        storage/connect/filamvct.cpp
        storage/connect/filamzip.cpp
        storage/connect/filamzip.h
        storage/connect/ha_connect.cc
        storage/connect/ha_connect.h
        storage/connect/plgdbsem.h
        storage/connect/plgdbutl.cpp
        storage/connect/reldef.cpp
        storage/connect/reldef.h
        storage/connect/tabdos.cpp
        storage/connect/tabdos.h
        storage/connect/tabfix.cpp
        storage/connect/tabfix.h
        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/tabodbc.cpp
        storage/connect/tabsys.cpp
        storage/connect/tabsys.h
        storage/connect/tabtbl.cpp
        storage/connect/tabtbl.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/valblk.cpp
        storage/connect/valblk.h
        storage/connect/value.cpp
        storage/connect/value.h
        storage/connect/xobject.cpp
        storage/connect/xobject.h
        storage/connect/xtable.h
      85e8aee4
  18. 05 Mar, 2014 1 commit
  19. 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
  20. 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
  21. 07 Feb, 2014 1 commit
  22. 06 Feb, 2014 1 commit
  23. 05 Feb, 2014 5 commits