1. 17 Dec, 2013 1 commit
  2. 16 Dec, 2013 2 commits
    • Olivier Bertrand's avatar
      - Fix logical error in STRBLK::SetValue · 18112a3f
      Olivier Bertrand authored
      modified:
        storage/connect/valblk.cpp
      
      - Fix compiler warning in ODBConn::GetCatInfo
      
      modified:
        storage/connect/odbconn.cpp
      18112a3f
    • Olivier Bertrand's avatar
      - Fix MDEV-5393 and MDEV-5434. It is a major update of ODBC catalog tables · e2804d9b
      Olivier Bertrand authored
        processing that takes care of:
        - Drastically reduce the amount of storge needed to process them.
        - Handle longjmp's.
        - Makes the line limit an opion (MAXRES)
        - Schema can also be specified with the DBNAME option.
        - Issue warnings on fetch errors or when result lines have been limited.
        - Change some column names to reflect ODBC version 3 standard.
        The documentation have been updated accordingly
      
      modified:
        storage/connect/filamdbf.cpp
        storage/connect/ha_connect.cc
        storage/connect/myconn.cpp
        storage/connect/mysql-test/connect/r/odbc.result
        storage/connect/mysql-test/connect/r/odbc_postgresql.result
        storage/connect/mysql-test/connect/r/odbc_sqlite3.result
        storage/connect/mysql-test/connect/r/odbc_xls.result
        storage/connect/mysql-test/connect/r/xml.result
        storage/connect/mysql-test/connect/t/odbc_postgresql.test
        storage/connect/odbccat.h
        storage/connect/odbconn.cpp
        storage/connect/odbconn.h
        storage/connect/plgdbsem.h
        storage/connect/plgdbutl.cpp
        storage/connect/rcmsg.c
        storage/connect/tabfmt.cpp
        storage/connect/table.cpp
        storage/connect/tabodbc.cpp
        storage/connect/tabodbc.h
        storage/connect/tabutil.cpp
        storage/connect/tabwmi.cpp
        storage/connect/user_connect.cc
        storage/connect/valblk.cpp
        storage/connect/valblk.h
        storage/connect/value.cpp
      e2804d9b
  3. 14 Dec, 2013 1 commit
  4. 13 Dec, 2013 2 commits
  5. 12 Dec, 2013 2 commits
  6. 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
  7. 10 Dec, 2013 1 commit
  8. 12 Dec, 2013 2 commits
  9. 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
  10. 12 Dec, 2013 1 commit
  11. 10 Dec, 2013 1 commit
  12. 09 Dec, 2013 9 commits
  13. 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
  14. 05 Dec, 2013 4 commits
  15. 04 Dec, 2013 1 commit
  16. 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
  17. 02 Dec, 2013 1 commit
  18. 01 Dec, 2013 1 commit
  19. 28 Nov, 2013 1 commit