1. 07 Feb, 2015 1 commit
    • Olivier Bertrand's avatar
      - Modify the connect_type_conv and connect_conv_size variables. · 35548d57
      Olivier Bertrand authored
        They were global (read-only) now they are session (not read-only)
      modified:
        storage/connect/checklvl.h
        storage/connect/ha_connect.cc
        storage/connect/myconn.cpp
        storage/connect/myutil.cpp
        storage/connect/tabutil.cpp
      
      - Suppress the compver variable on Linux compile. Was not
        debian reproductible because using __DATE__ and __TIME__ macros.
      modified:
        storage/connect/ha_connect.cc
      
      - ODBC LONGVARVAR type conversion now uses connect_conv_size.
      modified:
        storage/connect/odbconn.cpp
      35548d57
  2. 02 Feb, 2015 2 commits
  3. 01 Feb, 2015 1 commit
  4. 31 Jan, 2015 1 commit
    • Olivier Bertrand's avatar
      - Add the possibility to establish an ODBC connection via SQLConnect (the · 180b2be6
      Olivier Bertrand authored
        default being still to use SQLDriverConnect)
      modified:
        storage/connect/ha_connect.cc
        storage/connect/odbccat.h
        storage/connect/odbconn.cpp
        storage/connect/odbconn.h
        storage/connect/tabodbc.cpp
        storage/connect/tabodbc.h
      
      - Cardinality testing not possible for TBL tables
      modified:
        storage/connect/tabtbl.cpp
      
      - Make all line ending LF instead of CRLF
      modified:
        storage/connect/tabjson.cpp
      180b2be6
  5. 30 Jan, 2015 1 commit
    • Olivier Bertrand's avatar
      - Enhance JSON tables handling. · fd1ca70b
      Olivier Bertrand authored
      modified:
        storage/connect/json.cpp
        storage/connect/json.h
        storage/connect/mysql-test/connect/r/json.result
        storage/connect/mysql-test/connect/t/json.test
        storage/connect/tabjson.cpp
        storage/connect/tabjson.h
      
      - Avoid crash when a partition table name pattern is ill formed
        (such as using place holder %i instead of %s)
      modified:
        storage/connect/ha_connect.cc
      fd1ca70b
  6. 27 Jan, 2015 3 commits
  7. 24 Jan, 2015 3 commits
  8. 23 Jan, 2015 3 commits
    • Olivier Bertrand's avatar
      - Change some line endings from CRLF to LF · a87bb05a
      Olivier Bertrand authored
      modified:
        storage/connect/json.cpp
        storage/connect/xobject.cpp
      a87bb05a
    • Olivier Bertrand's avatar
      - This to fix MDEV-7498. All changes made to AllocateValue to be sure that · 2cd36ad7
      Olivier Bertrand authored
        the sp and p variable be initialised failed. Not understanding what causes
        this valgrind warning, I finally changed the way Mulval is allocated just
        to avoid it. This is a BAD solution as it does not really fix the problem
        but just hide it. This will have to be re-considered.
      modified:
        storage/connect/tabjson.cpp
        storage/connect/value.cpp
      2cd36ad7
    • Olivier Bertrand's avatar
      - Fix MDEV-7489 (in add_field) · dc091a29
      Olivier Bertrand authored
      modified:
        storage/connect/ha_connect.cc
      
      - Fix MDEV-7494 (adding Insert_quoted in the STRING class)
      modified:
        storage/connect/tabmysql.cpp
        storage/connect/xobject.cpp
        storage/connect/xobject.h
      
      - Fix MDEV-7498 in value.cpp (AllocateValue)
      modified:
        storage/connect/value.cpp
      
      - Handle backslash in Json serialize + uchar + typo.
      modified:
        storage/connect/json.cpp
        storage/connect/tabjson.cpp
      dc091a29
  9. 20 Jan, 2015 2 commits
    • Olivier Bertrand's avatar
      - Last revision was to add the JSON table type. This one adds a sort · e5767723
      Olivier Bertrand authored
        on the multiple table result to obtain the same result on Windows
        and Linux (because files can be retrieved in a different order)
      modified:
        storage/connect/mysql-test/connect/r/json.result
        storage/connect/mysql-test/connect/t/json.test
      e5767723
    • Olivier Bertrand's avatar
      - Fix compile errors and warnings of LINUX G++ · 8fc69564
      Olivier Bertrand authored
      added:
        storage/connect/json.cpp
        storage/connect/json.h
        storage/connect/mysql-test/connect/r/json.result
        storage/connect/mysql-test/connect/std_data/biblio.jsn
        storage/connect/mysql-test/connect/std_data/expense.jsn
        storage/connect/mysql-test/connect/std_data/mulexp3.jsn
        storage/connect/mysql-test/connect/std_data/mulexp4.jsn
        storage/connect/mysql-test/connect/std_data/mulexp5.jsn
        storage/connect/mysql-test/connect/t/json.test
        storage/connect/tabjson.cpp
        storage/connect/tabjson.h
      modified:
        storage/connect/CMakeLists.txt
        storage/connect/engmsg.h
        storage/connect/filamtxt.h
        storage/connect/ha_connect.cc
        storage/connect/msgid.h
        storage/connect/mycat.cc
        storage/connect/plgdbsem.h
        storage/connect/tabdos.cpp
        storage/connect/value.cpp
        storage/connect/value.h
      8fc69564
  10. 19 Jan, 2015 1 commit
    • Olivier Bertrand's avatar
      - Adding the JSON table type · 2d2e110b
      Olivier Bertrand authored
      added:
        storage/connect/json.cpp
        storage/connect/json.h
        storage/connect/mysql-test/connect/r/json.result
        storage/connect/mysql-test/connect/std_data/biblio.jsn
        storage/connect/mysql-test/connect/std_data/expense.jsn
        storage/connect/mysql-test/connect/std_data/mulexp3.jsn
        storage/connect/mysql-test/connect/std_data/mulexp4.jsn
        storage/connect/mysql-test/connect/std_data/mulexp5.jsn
        storage/connect/mysql-test/connect/t/json.test
        storage/connect/tabjson.cpp
        storage/connect/tabjson.h
      modified:
        storage/connect/CMakeLists.txt
        storage/connect/engmsg.h
        storage/connect/filamtxt.h
        storage/connect/ha_connect.cc
        storage/connect/msgid.h
        storage/connect/mycat.cc
        storage/connect/plgdbsem.h
        storage/connect/tabdos.cpp
        storage/connect/value.cpp
        storage/connect/value.h
      2d2e110b
  11. 17 Jan, 2015 2 commits
    • Olivier Bertrand's avatar
      - Fix two bugs concerning Discovery of CSV tables: · fb3f4696
      Olivier Bertrand authored
        Sep_char default is now ',' like when discovery is not used
        If data_charset is UTF8, column names retrieved from the header
        are no longer converted to UTF8 considering they already are (MDEV-7421)
      modified:
        storage/connect/ha_connect.cc
      fb3f4696
    • Olivier Bertrand's avatar
      - Fix two bugs concerning Discovery of CSV tables: · f5beda48
      Olivier Bertrand authored
        Sep_char default is now ',' like when discovery is not used
        If data_charset is UTF8, column names retrieved from the header
        are no longer converted to UTF8 considering they already are.
      modified:
        storage/connect/ha_connect.cc
      f5beda48
  12. 13 Jan, 2015 1 commit
  13. 09 Jan, 2015 1 commit
  14. 06 Jan, 2015 2 commits
    • Olivier Bertrand's avatar
      - Typo to eliminate some GCC warnings · d4bf6455
      Olivier Bertrand authored
      modified:
        storage/connect/odbconn.cpp
        storage/connect/plgdbsem.h
      d4bf6455
    • Olivier Bertrand's avatar
      - Set connection charset before calling mysql_real_connect for MYSQL · afd373c1
      Olivier Bertrand authored
        tables. This should fix bug MDEV-7343.
      modified:
        storage/connect/ha_connect.cc
        storage/connect/myconn.cpp
        storage/connect/myconn.h
        storage/connect/reldef.cpp
        storage/connect/reldef.h
        storage/connect/table.cpp
        storage/connect/tabmysql.cpp
        storage/connect/xtable.h
      
      - Prevent double column evaluation when CONNECT does filtering
      modified:
        storage/connect/connect.cc
      
      - Export CreateFileMap and CloseMemMap (for OEM tables)
      modified:
        storage/connect/maputil.h
      
      - Add the compute function to be used on VALUE types.
        Preserve precision for DOUBLE values.
      modified:
        storage/connect/value.cpp
        storage/connect/value.h
      
      - Typo (in preparation to the future JSON table type)
      modified:
        storage/connect/ha_connect.cc
        storage/connect/mycat.cc
        storage/connect/plgdbsem.h
      afd373c1
  15. 14 Dec, 2014 1 commit
    • Olivier Bertrand's avatar
      - Temporary fix for MDEV-7304. · 8761f22a
      Olivier Bertrand authored
      modified:
        storage/connect/rcmsg.c
      
      - Avoid Memory copying when reading an ODBC table when the entire table
        is already in the result set.
      modified:
        storage/connect/odbconn.cpp
        storage/connect/odbconn.h
        storage/connect/tabodbc.cpp
        storage/connect/tabodbc.h
      8761f22a
  16. 24 Nov, 2014 3 commits
  17. 23 Nov, 2014 1 commit
  18. 20 Nov, 2014 3 commits
  19. 16 Nov, 2014 2 commits
    • Olivier Bertrand's avatar
      - Commit resolved conflicted files · cfa872f6
      Olivier Bertrand authored
      modified:
        storage/connect/engmsg.h
        storage/connect/filamtxt.cpp
      cfa872f6
    • Olivier Bertrand's avatar
      - Remove gcc warning (no previous declaration of msglang) · b9165cb5
      Olivier Bertrand authored
      modified:
        storage/connect/ha_connect.cc
      
      - Define strcasecmp for Linux
      modified:
        storage/connect/rcmsg.c
      
      - Avoid potential buffer overflow
      modified:
        storage/connect/plgdbutl.cpp
        
      - Change %d in %lld in VALUE_TOO_BIG message
      modified:
        storage/connect/encas.h
        storage/connect/english.msg
        storage/connect/frcas.h
        storage/connect/french.msg
        storage/connect/frmsg.h
      b9165cb5
  20. 15 Nov, 2014 1 commit
    • Olivier Bertrand's avatar
      - Implement the NEWMSG and XMSG methods · 5d831196
      Olivier Bertrand authored
        They are still experimental and should not be used in production.
      added:
        storage/connect/encas.h
        storage/connect/english.msg
        storage/connect/enids.h
        storage/connect/frcas.h
        storage/connect/french.msg
        storage/connect/frids.h
        storage/connect/frmsg.h
      modified:
        storage/connect/connect.cc
        storage/connect/engmsg.h
        storage/connect/filamdbf.cpp
        storage/connect/global.h
        storage/connect/ha_connect.cc
        storage/connect/msgid.h
        storage/connect/plgdbutl.cpp
        storage/connect/plugutil.c
        storage/connect/rcmsg.c
        storage/connect/resource.h
        storage/connect/tabfmt.h
      
      - Fix global variable not being properly initialized (MDEV-6690, MDEV-7094)
      modified:
        storage/connect/ha_connect.cc
        storage/connect/plugutil.c
        storage/connect/user_connect.cc
        storage/connect/xindex.cpp
      
      - Implement Rewind for ODBC tables (MDEV-7097)
      modified:
        storage/connect/odbconn.cpp
        storage/connect/odbconn.h
        storage/connect/tabmysql.cpp
        storage/connect/tabodbc.cpp
      
      - Reset N when reopening MYSQL tables
      modified:
        storage/connect/tabmysql.cpp
      5d831196
  21. 09 Nov, 2014 1 commit
  22. 08 Nov, 2014 3 commits
    • Olivier Bertrand's avatar
      - Compile protect against not fully implemented optione XMSG and NEWMSG · f3e7e50d
      Olivier Bertrand authored
      modified:
        storage/connect/global.h
      
      - Commit typo error
      modified:
        storage/connect/tabmul.cpp*
      f3e7e50d
    • Olivier Bertrand's avatar
      - fix typo error · 2c6839ff
      Olivier Bertrand authored
      modified:
        storage/connect/tabmul.cpp
      2c6839ff
    • Olivier Bertrand's avatar
      - Calculate next position in filamap without assuming ENDING option is true. · bd481432
      Olivier Bertrand authored
      modified:
        storage/connect/filamap.cpp
      
      - ftell error: indicate in the error msg that is can be due to wrong ENDING value.
        filamtxt.cpp (MDEV-7030)
      modified:
        storage/connect/filamtxt.cpp
      
      - Change STRING according to Alexander Barkov remarks.
        Suppress the wrong Strz function. The unconditional function strz is no more
        used for s->db and s->table_name because they are zero terminated.
      modified:
        storage/connect/ha_connect.cc
        storage/connect/xobject.cpp
      
      - Change version number
      modified:
        storage/connect/filamap.cpp
      
      - Change PATH_MAX to FN_REFLEN (MDEV-7036)
      modified:
        storage/connect/os.h
        storage/connect/tabmul.cpp
      
      - Fix bug by adding a void argument for OP_NOT in Makefilter.
      modified:
        storage/connect/filter.cpp
      
      - Begin implementing XMSG style
        Two new system variables are defined:
        msg_lang ENUM session
        errmsg_dir_path STR global readonly
        This is a work in progress.
      modified:
        storage/connect/ha_connect.cc
        storage/connect/plgdbutl.cpp
        storage/connect/plugutil.c
        storage/connect/rcmsg.c
        storage/connect/resource.h
      bd481432
  23. 01 Nov, 2014 1 commit