1. 03 Feb, 2014 3 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
    • 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
    • Alexander Barkov's avatar
      Merg 10.0-connect -> 10.0 · 4d5f5f4c
      Alexander Barkov authored
      4d5f5f4c
  2. 31 Jan, 2014 1 commit
  3. 21 Jan, 2014 2 commits
    • Sergey Petrunya's avatar
      Merge · a1a49ec9
      Sergey Petrunya authored
      a1a49ec9
    • Sergey Petrunya's avatar
      MDEV-5426: Assertion `toku_ft_needed_unlocked(src_h)' failed (errno=11) ... · 41208f6e
      Sergey Petrunya authored
      - the problem was caused by EXPLAIN INSERT SELECT. For that statement, 
        the code would call select_insert::prepare2(), which would call 
        handler->ha_start_bulk_insert().  The corresponding handler->end_bulk_insert() 
        call is made from select_insert::send_eof or select_insert::abort_result_set 
        which are never called for EXPLAIN INSERT SELECT.
      - Fixed by re-using approach of mysql-5.6: don't call ha_start_bulk_insert() if 
        we are in EXPLAIN.
      41208f6e
  4. 20 Jan, 2014 1 commit
  5. 14 Jan, 2014 1 commit
    • Michael Widenius's avatar
      Fix for MDEV-4117 @@global.relay_log_purge not per-master, conflicts between... · 0a20d762
      Michael Widenius authored
      Fix for MDEV-4117 @@global.relay_log_purge not per-master, conflicts between different masters in multisource replication
      
      The fix is to not change @relay_log_purge as part of the CHANGE MASTER.
      (There is no logical reason why this is done in the current source)
      
      mysql-test/suite/rpl/r/rpl_slave_status.result:
        Ensure that CHANGE MASTER doesn't change relay_log_purge
      mysql-test/suite/rpl/t/rpl_slave_status.test:
        Ensure that CHANGE MASTER doesn't change relay_log_purge
      sql/sql_repl.cc:
        Don't change relay_log_purge in CHANGE MASTER
      0a20d762
  6. 31 Dec, 2013 1 commit
  7. 28 Dec, 2013 3 commits
    • Elena Stepanova's avatar
      Increment the version number · 2ddbe0ec
      Elena Stepanova authored
      2ddbe0ec
    • Olivier Bertrand's avatar
      - Fix variables used uninitialized · 32284eba
      Olivier Bertrand authored
      modified:
        storage/connect/filamdbf.cpp
        storage/connect/tabutil.cpp
      32284eba
    • Olivier Bertrand's avatar
      - Add the DECIMAL data type (TYPE_DECIM) · c055e5e0
      Olivier Bertrand authored
        Change the variable name of the DOUBLE type from TYPE_FLOAT to TYPE_DOUBLE
        Change some names to reflect ODBC version 3. This affects some variable
        names, function names and catalog table column names.
        Qualifier -> Catalog
        Owner (Creator) -> Schema
        Length -> Precision
        Prec -> Scale
      
      modified:
        storage/connect/catalog.h
        storage/connect/colblk.cpp
        storage/connect/colblk.h
        storage/connect/filamdbf.cpp
        storage/connect/global.h
        storage/connect/ha_connect.cc
        storage/connect/myconn.cpp
        storage/connect/mysql-test/connect/r/mysql_new.result
        storage/connect/mysql-test/connect/r/odbc_oracle.result
        storage/connect/myutil.cpp
        storage/connect/odbconn.cpp
        storage/connect/plgdbutl.cpp
        storage/connect/rcmsg.c
        storage/connect/reldef.cpp
        storage/connect/reldef.h
        storage/connect/tabcol.cpp
        storage/connect/tabcol.h
        storage/connect/tabdos.cpp
        storage/connect/tabfmt.cpp
        storage/connect/tabmysql.cpp
        storage/connect/tabodbc.cpp
        storage/connect/tabodbc.h
        storage/connect/tabsys.cpp
        storage/connect/tabutil.cpp
        storage/connect/tabwmi.cpp
        storage/connect/tabxml.cpp
        storage/connect/valblk.cpp
        storage/connect/value.cpp
        storage/connect/value.h
        storage/connect/xindex.cpp
        storage/connect/xobject.cpp
        storage/connect/xobject.h
      
      - Fix crash when GetTDB returned NULL in Open_Table
      
      modified:
        storage/connect/ha_connect.cc
      
      - Fix assert error setting double values from PSZ
      
      modified:
        storage/connect/valblk.cpp
      c055e5e0
  8. 25 Dec, 2013 1 commit
  9. 23 Dec, 2013 1 commit
  10. 22 Dec, 2013 14 commits
  11. 20 Dec, 2013 3 commits
  12. 19 Dec, 2013 4 commits
  13. 17 Dec, 2013 5 commits