1. 21 Mar, 2014 3 commits
  2. 19 Mar, 2014 2 commits
  3. 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
  4. 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
  5. 05 Mar, 2014 1 commit
  6. 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
  7. 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
  8. 07 Feb, 2014 1 commit
  9. 06 Feb, 2014 1 commit
  10. 05 Feb, 2014 10 commits
  11. 04 Feb, 2014 10 commits
  12. 03 Feb, 2014 7 commits
    • Olivier Bertrand's avatar
      - Fix a few GCC errors an warnings · a25b5bd4
      Olivier Bertrand authored
      modified:
        storage/connect/ha_connect.cc
        storage/connect/mycat.cc
      a25b5bd4
    • Sergei Golubchik's avatar
      test fixes · 3b3a7a52
      Sergei Golubchik authored
      3b3a7a52
    • Alexander Barkov's avatar
      MDEV-5450 Assertion `cached_field_ type == MYSQL_TYPE_STRING || · 15639990
      Alexander Barkov authored
      ltime.time_type == MYSQL_TIMESTAMP_NONE ||
      mysql_type_to_time_type(cached_field_type) == ltime.time_type'
      fails with IF, ISNULL, ADDDATE
      15639990
    • Olivier Bertrand's avatar
      This is a major update of CONNECT that goes from version 1.1 to 1.2 · 5133cb5e
      Olivier Bertrand authored
      ===================================================================
      - Implement a first support of the ALTER TABLE command. This fixes MDEV-5440
        but does much more than only that. See the details of how ALTER is supported
        in the new documentation and also in MDEV-5440 comment.
        This is done principally by implementing for CONNECT the virtual function
        check_if_supported_inplace_alter.
      modified:
        storage/connect/connect.cc
        storage/connect/global.h
        storage/connect/ha_connect.cc
        storage/connect/ha_connect.h
        storage/connect/mysql-test/connect/r/bin.result
        storage/connect/mysql-test/connect/r/csv.result
        storage/connect/mysql-test/connect/r/dbf.result
        storage/connect/mysql-test/connect/r/dir.result
        storage/connect/mysql-test/connect/r/fix.result
        storage/connect/mysql-test/connect/r/index.result
        storage/connect/mysql-test/connect/r/ini.result
        storage/connect/mysql-test/connect/r/occur.result
        storage/connect/mysql-test/connect/r/pivot.result
        storage/connect/mysql-test/connect/r/vec.result
        storage/connect/mysql-test/connect/t/dbf.test
        storage/connect/plugutil.c
        storage/connect/user_connect.cc
      
      - Fixes the tabname/table_name issue for XML tables. Implement
        multiple files XML tables.
      modified:
        storage/connect/tabxml.cpp
        storage/connect/tabxml.h
      
      - Set to varchar(256) the fields of catalog tables stored
        as STRBLK's (had length 0 --> CHAR(1))
        Add the GetCharString function to the VALBLK class
      modified:
        storage/connect/ha_connect.cc
        storage/connect/valblk.cpp
        storage/connect/valblk.h
        storage/connect/value.cpp
      
      - Translate CONNECT error messages to system_charset
        to avoid truncation on not ASCII characters.
      modified:
        storage/connect/ha_connect.cc
      
      - Update version number
      modified:
        storage/connect/ha_connect.cc
        storage/connect/mysql-test/connect/r/xml.result
      
      - Move the TDBASE::data_charset body from xtable.h to table.cpp.
        (dont' remember why)
      modified:
        storage/connect/table.cpp
        storage/connect/xtable.h
      
      - Other modifications are to enhance the support of OEM tables.
        In particular, they can now provide column definition in dicovery.
      modified:
        storage/connect/colblk.h
        storage/connect/global.h
        storage/connect/ha_connect.cc
        storage/connect/mycat.cc
        storage/connect/plgcnx.h
        storage/connect/plgdbsem.h
        storage/connect/xtable.h
      
      - Or to add or modify tracing.
      modified:
        storage/connect/filamtxt.cpp
        storage/connect/ha_connect.cc
        storage/connect/plgdbutl.cpp
        storage/connect/tabfix.cpp
        storage/connect/tabmysql.cpp
      5133cb5e
    • Sergei Golubchik's avatar
    • Sergei Golubchik's avatar
      6c9272f7
    • Sergei Golubchik's avatar
      10.0-base merge · 72c20282
      Sergei Golubchik authored
      72c20282