1. 07 Feb, 2013 12 commits
  2. 06 Feb, 2013 6 commits
    • Alexander Barkov's avatar
      Adding missing DROP TABLE. · 60c4cab3
      Alexander Barkov authored
      Otherwise, the further tests fail on "table t1 already exists"
      60c4cab3
    • Alexander Barkov's avatar
      Adding a test for ODBC/XLS. · 0758b2bd
      Alexander Barkov authored
      Currently only for ASCII data.
      TODO: add tests for extended letters (e.g. Latin1, Cyrillic, etc).
      
      
      added:
        mysql-test/suite/connect/r/odbc_xls.result
        mysql-test/suite/connect/std_data/contacts.xls
        mysql-test/suite/connect/t/odbc_xls.test
      0758b2bd
    • Alexander Barkov's avatar
      Introducing functions global_open() and global_fopen() for these purposes: · 22a8fb03
      Alexander Barkov authored
      - Removing duplicate code to generate error message text
      - In the future they will most likely check secure_file_priv directory.
      
      
      modified:
        storage/connect/filamdbf.cpp
        storage/connect/filamfix.cpp
        storage/connect/filamtxt.cpp
        storage/connect/filamvct.cpp
        storage/connect/libdoc.cpp
        storage/connect/maputil.cpp
        storage/connect/plgdbsem.h
        storage/connect/plgdbutl.cpp
        storage/connect/tabfmt.cpp
        storage/connect/tabmul.cpp
        storage/connect/tabxml.cpp
        storage/connect/xindex.cpp
      22a8fb03
    • Alexander Barkov's avatar
      Adding tests for TABLE_TYPE=FIX · 9aa88d50
      Alexander Barkov authored
      added:
        mysql-test/suite/connect/r/fix.result
        mysql-test/suite/connect/std_data/boys.txt
        mysql-test/suite/connect/std_data/boyswin.txt
        mysql-test/suite/connect/std_data/dept.dat
        mysql-test/suite/connect/t/fix.test
      9aa88d50
    • Alexander Barkov's avatar
      Adding basic tests for TABLE_TYPE=fmt · 06dd5ea4
      Alexander Barkov authored
            
      added:
        mysql-test/suite/connect/r/fmt.result
        mysql-test/suite/connect/std_data/funny.txt
        mysql-test/suite/connect/std_data/funny2.txt
        mysql-test/suite/connect/t/fmt.test
      06dd5ea4
    • Alexander Barkov's avatar
      Commenting ALTER test which changes the DBF file size. · 1b40c7c7
      Alexander Barkov authored
      It does not work on Windows.
      
      modified:
        mysql-test/suite/connect/r/dbf.result
        mysql-test/suite/connect/t/dbf.test
      1b40c7c7
  3. 05 Feb, 2013 1 commit
    • Olivier Bertrand's avatar
      Make possible to get ODBC DataSources name and description by: · 1830e732
      Olivier Bertrand authored
      create table datasrc (
      `anyname` varchar(256) flag=1,
      `anyother name` varchar(256) flag=2)
      engine=CONNECT table_type=ODBC option_list='info=yes';
      
      or simply by:
      
      create table datasrc engine=CONNECT table_type=ODBC option_list='info=yes';
      
      then:
      
      select * from datasrc;
      
      Modified:
      ha_connect.cc
      odbconn.h
      odbconn.cpp
      tabodbc.h
      tabodbc.cpp
      
      1830e732
  4. 04 Feb, 2013 5 commits
  5. 03 Feb, 2013 1 commit
  6. 01 Feb, 2013 9 commits
    • Olivier Bertrand's avatar
      2>libdoc.cpp · 9ca150aa
      Olivier Bertrand authored
      2>D:\CommonSource\mariadb-10.0\include\my_pthread.h(120) : warning C4005: '_REENTRANT' : redéfinition de macro
      2>        D:\Libxml\include\libxml/xmlexports.h(77) : voir la définition précédente de '_REENTRANT'
      2>.\libdoc.cpp(378) : error C2664: 'strlen' : impossible de convertir le paramètre 1 de 'xmlChar *' en 'const char *'
      2>        Les types pointés n'ont aucun rapport entre eux ; conversion nécessitant reinterpret_cast, cast de style C ou cast de style fonction
      2>.\libdoc.cpp(379) : error C2664: 'copy_and_convert' : impossible de convertir le paramètre 4 de 'xmlChar *' en 'const char *'
      2>        Les types pointés n'ont aucun rapport entre eux ; conversion nécessitant reinterpret_cast, cast de style C ou cast de style fonction
      2>
      
      Fix for that.
      9ca150aa
    • Alexander Barkov's avatar
      Fixing a typo: · f1b87189
      Alexander Barkov authored
      #ifdef defined(XXX) ->
      #ifdef XXX
      f1b87189
    • Alexander Barkov's avatar
      Replacing iconv converstion routines in libdoc.cc to MariaDB routines. · 7a8402c9
      Alexander Barkov authored
      TODO: Access to Field->charset() instead of hardcoded latin1 conversion.
      
      modified:
        storage/connect/libdoc.cpp
        storage/connect/libdoc.h
      7a8402c9
    • Alexander Barkov's avatar
      Adding tests for SMALLINT and BIGINT for DBF. · 1e976f42
      Alexander Barkov authored
      modified:
        mysql-test/suite/connect/r/dbf.result
        mysql-test/suite/connect/t/dbf.test
      1e976f42
    • Alexander Barkov's avatar
      More XML related definitions are now more friendly: · dde8622c
      Alexander Barkov authored
      - LIBXML2_SUPPORT is defined if LibXml2 is found
      - DOMDOC_SUPPORT  is defined if msxml is found
      - XML_SUPPORT is defined if either of them are found
      
      NOXML2 was removed
      
      modified:
        storage/connect/CMakeLists.txt
        storage/connect/global.h
        storage/connect/ha_connect.cc
        storage/connect/plgdbutl.cpp
        storage/connect/plgxml.cpp
      dde8622c
    • Alexander Barkov's avatar
      Adding an option to switch off ICONV support: · 733ab86c
      Alexander Barkov authored
      cmake -DCONNECT_WITH_ICONV=0
      
      modified:
        storage/connect/CMakeLists.txt
        storage/connect/tabodbc.cpp
        storage/connect/tabodbc.h
      733ab86c
    • Alexander Barkov's avatar
      Fixing to use my_interval_timer() instead of ftime(). · f09ae60d
      Alexander Barkov authored
      The later is not portable (e.g. it does not exist on FreeBSD)
      
      modified:
        storage/connect/ha_connect.cc
        storage/connect/user_connect.cc
        storage/connect/user_connect.h
      f09ae60d
    • Alexander Barkov's avatar
      ftime does not exist on FreeBSD. · 3d8ef8bf
      Alexander Barkov authored
      Hiding calls for ftime() as a temporary fix.
      
      This code should be modified to use my_time_microseconds() instead.
      3d8ef8bf
    • Alexander Barkov's avatar
      Adding separate flags to disable MSXML and LIBXML2 libraries on Windows: · d1011629
      Alexander Barkov authored
      -DCONNECT_WITH_LIBXML2=0
      -DCONNECT_WITH_MSXML=0
      
      modified:
        storage/connect/CMakeLists.txt
      d1011629
  7. 31 Jan, 2013 4 commits
  8. 30 Jan, 2013 2 commits