1. 14 Dec, 2013 1 commit
  2. 13 Dec, 2013 2 commits
  3. 12 Dec, 2013 2 commits
  4. 11 Dec, 2013 5 commits
    • Olivier Bertrand's avatar
      - Add longjmp initialization in PlgAllocResult · 7e8504b5
      Olivier Bertrand authored
      modified:
        storage/connect/plgdbutl.cpp
      
      - Update type translation to take care of type_modifiers
      
      modified:
        storage/connect/ha_connect.cc
        storage/connect/myutil.cpp
        storage/connect/myutil.h
        storage/connect/odbconn.cpp
      7e8504b5
    • Olivier Bertrand's avatar
      - Commit merged files from Alexander · 3a7f4f24
      Olivier Bertrand authored
      added:
        storage/connect/mysql-test/connect/r/odbc_postgresql.result
        storage/connect/mysql-test/connect/t/have_odbc_postgresql.inc
        storage/connect/mysql-test/connect/t/odbc_postgresql.sql
        storage/connect/mysql-test/connect/t/odbc_postgresql.test
      modified:
        storage/connect/odbconn.cpp
      3a7f4f24
    • Olivier Bertrand's avatar
      - Fix errors and warnings occuring in --embedded tests · f69980c6
      Olivier Bertrand authored
      modified:
        storage/connect/connect.cc
        storage/connect/ha_connect.cc
        storage/connect/mysql-test/connect/r/mysql.result
        storage/connect/mysql-test/connect/r/unsigned.result
        storage/connect/mysql-test/connect/t/mysql.test
        storage/connect/mysql-test/connect/t/unsigned.test
      f69980c6
    • Alexander Barkov's avatar
      83416c0f
    • Alexander Barkov's avatar
      MDEV-5341 ConnectSE: discovery for ODBC tables does not work if tables · f19f8f0e
      Alexander Barkov authored
      with the same names present in multiple schemas
      
      The "TABNAME" option now supports qualified table names,
      to connect to tables residing in a particular schema and catalog.
      
      Qualified table names have the following format:
      
        [[CatalogName.]SchemaName.]TableName
      
      Qualified table names can be used:
      
      1. In "normal" tables:
      
      CREATE TABLE t1 ENGINE=CONNECT TABLE_TYPE=ODBC
      CONNECTION='DSN=ConnectEng;UID=mtr;PWD=mtr'
      TABNAME='schema1.t1';
      
      2. In catalog tables (CATFUNC=Tables  and CATFUNC=Columns)
      
      CREATE TABLE t1 ENGINE=CONNECT TABLE_TYPE=ODBC
      CONNECTION='DSN=postgresql;UID=user;PWD=password'
      TABNAME='schema1.t1';
      
      Note, the % and _ wildcards are supported in
      the schema name and the table name parts:
      
      CREATE TABLE t1 ENGINE=CONNECT TABLE_TYPE=ODBC
      CONNECTION='DSN=postgresql;UID=user;PWD=password'
      TABNAME='%.t1';
      
      CREATE TABLE t1 ENGINE=CONNECT TABLE_TYPE=ODBC
      CONNECTION='DSN=postgresql;UID=user;PWD=password'
      TABNAME='schema1.%';
      f19f8f0e
  5. 10 Dec, 2013 1 commit
  6. 12 Dec, 2013 2 commits
  7. 10 Dec, 2013 1 commit
    • Sergey Vojtovich's avatar
      MDEV-4956 - Reduce usage of LOCK_open: TABLE_SHARE::tdc.used_tables · 98c4f167
      Sergey Vojtovich authored
      - tc_acquire_table and tc_release_table do not access
        TABLE_SHARE::tdc.used_tables anymore
      - in tc_acquire_table(): release LOCK_tdc after we relase LOCK_open
        (saves a few CPU cycles in critical section)
      - in tc_release_table(): if we reached table cache threshold, evict
        to-be-released table without moving it to unused_tables. unused_tables
        must be empty at this point.
      98c4f167
  8. 12 Dec, 2013 1 commit
  9. 10 Dec, 2013 1 commit
  10. 09 Dec, 2013 9 commits
  11. 06 Dec, 2013 1 commit
    • Olivier Bertrand's avatar
      - Raise the limit on returned lines for table ODBC catalog tables · 1e1345c4
      Olivier Bertrand authored
        to 16384 (MDEV-5393)
      
      modified:
        storage/connect/odbconn.cpp
      
      - Fix sorting catalog table result set (MDEV-5394)
      
      added:
        storage/connect/mysql-test/connect/r/xml_mdev5261.result
        storage/connect/mysql-test/connect/t/xml_mdev5261.test
      modified:
        storage/connect/mysql-test/connect/r/odbc_sqlite3.result
        storage/connect/mysql-test/connect/t/odbc_sqlite3.test
        storage/connect/table.cpp
        storage/connect/tabodbc.cpp
        storage/connect/xtable.h
      
      - Remove unnecessary closing of opened table in rnd_init
      
      modified:
        storage/connect/ha_connect.cc
      1e1345c4
  12. 05 Dec, 2013 4 commits
  13. 04 Dec, 2013 1 commit
  14. 03 Dec, 2013 3 commits
    • Olivier Bertrand's avatar
      - Fix a typo error in tabutil line 213 · 41dbe1c9
      Olivier Bertrand authored
      modified:
        storage/connect/tabutil.cpp
        
      - Fix test results to reflect the fact that in discovery, column defaults
        are now retrieved for the MYSQL table type.
      
      modified:
        storage/connect/mysql-test/connect/r/mysql_discovery.result
        storage/connect/mysql-test/connect/r/mysql_new.result
      
      - Restore Unix line endings
      
      modified:
        storage/connect/value.cpp
      41dbe1c9
    • Olivier Bertrand's avatar
      - Add support for unsigned numeric types · ee2f0445
      Olivier Bertrand authored
      added:
        storage/connect/mysql-test/connect/r/unsigned.result
        storage/connect/mysql-test/connect/t/unsigned.test
      modified:
        storage/connect/colblk.cpp
        storage/connect/colblk.h
        storage/connect/connect.cc
        storage/connect/ha_connect.cc
        storage/connect/myconn.cpp
        storage/connect/mysql-test/connect/r/mysql_discovery.result
        storage/connect/mysql-test/connect/r/xml.result
        storage/connect/myutil.cpp
        storage/connect/myutil.h
        storage/connect/plgdbsem.h
        storage/connect/tabdos.cpp
        storage/connect/tabfix.cpp
        storage/connect/tabmysql.cpp
        storage/connect/tabutil.cpp
        storage/connect/valblk.cpp
        storage/connect/valblk.h
        storage/connect/value.cpp
        storage/connect/value.h
        storage/connect/xobject.cpp
        storage/connect/xobject.h
      ee2f0445
    • Alexander Barkov's avatar
      Merge 10.0-connect -> 10.0 · d240a041
      Alexander Barkov authored
      d240a041
  15. 02 Dec, 2013 1 commit
  16. 01 Dec, 2013 1 commit
  17. 28 Nov, 2013 4 commits
    • Olivier Bertrand's avatar
      - Fix gcc compiling error · 0d37409f
      Olivier Bertrand authored
      modified:
        storage/connect/valblk.cpp
      0d37409f
    • Sergei Golubchik's avatar
      MDEV-4243 [PATCH] Warnings/errors while compiling with clang · ab360498
      Sergei Golubchik authored
      fix the code to compile with clang. fix warnings too.
      
      include/probes_mysql_nodtrace.h:
        clang++ doesn't like numeric _constants_ being used in ||
        (it suspects that the intention was | ). Boolean constants are ok.
      sql/hostname.cc:
        only used in DBUG_ASSERT
      sql/item.cc:
        str_to_time and str_to_datetime return bool, not MYSQL_TIMESTAMP_xxx
      sql/item_func.cc:
        str_to_datetime_with_warn() returns bool, not MYSQL_TIMESTAMP_xxx
      storage/cassandra/CMakeLists.txt:
        CMAKE_CXX_FLAGS can be empty
      storage/connect/odbconn.cpp:
        HWND is void*
      storage/connect/user_connect.h:
        deprecated on FreeBSD and unused anyway
      storage/connect/value.cpp:
        bad characters inside. unused.
      storage/spider/spd_trx.cc:
        clang++ warns that memset will also overwrite vtbl. it might be as well a good idea,
        as it asserts that the object will only be used as a storage.
        silence the warning.
      ab360498
    • Sergei Golubchik's avatar
      MDEV-4955 discover of table non-existance on CREATE · 38c91c06
      Sergei Golubchik authored
      when frm file exists, but the table does not.
      
      In recover_from_failed_open(), allow the discovery
      to fail without an error, when
      open_strategy == TABLE_LIST::OPEN_IF_EXISTS.
      38c91c06
    • Sergei Golubchik's avatar
      MDEV-5281 Partitioning issue after upgrade from 10.0.3-1 to 10.0.5-1 · 1387e715
      Sergei Golubchik authored
      merged from 5.6:
      Bug#14521864: MYSQL 5.1 TO 5.5 BUGS PARTITIONING
      Bug#16589511: MYSQL_UPGRADE FAILS TO WRITE OUT ENTIRE ALTER TABLE ... ALGORITHM= ... STATEMENT
      Bug#16274455: CAN NOT ACESS PARTITIONED TABLES WHEN DOWNGRADED FROM 5.6.11 TO 5.6.10
      
      plus minor changes from 5.6, mainly comments
      1387e715