1. 18 Feb, 2015 1 commit
    • Olivier Bertrand's avatar
      - Work on JSON and JSON UDF's · 564d41fa
      Olivier Bertrand authored
      modified:
        storage/connect/json.cpp
        storage/connect/jsonudf.cpp
        storage/connect/tabjson.cpp
      
      - CntReadNext: Enable EvalColumns for longjmp
      modified:
        storage/connect/connect.cc
      564d41fa
  2. 12 Feb, 2015 1 commit
  3. 11 Feb, 2015 1 commit
    • Olivier Bertrand's avatar
      - Adding json udf's. Making the second version of json tables. · dcfe068d
      Olivier Bertrand authored
      added:
        storage/connect/jsonudf.cpp
      modified:
        storage/connect/CMakeLists.txt
        storage/connect/json.cpp
        storage/connect/json.h
        storage/connect/tabjson.cpp
        storage/connect/tabjson.h
      
      - Fix utf8 issues with PROXY tables
      modified:
        storage/connect/ha_connect.cc
        storage/connect/tabutil.cpp
        storage/connect/tabutil.h
      dcfe068d
  4. 08 Feb, 2015 2 commits
  5. 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
  6. 02 Feb, 2015 2 commits
  7. 01 Feb, 2015 1 commit
  8. 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
  9. 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
  10. 27 Jan, 2015 3 commits
  11. 24 Jan, 2015 3 commits
  12. 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
  13. 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
  14. 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
  15. 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
  16. 13 Jan, 2015 1 commit
  17. 09 Jan, 2015 1 commit
  18. 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
  19. 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
  20. 24 Nov, 2014 3 commits
  21. 23 Nov, 2014 1 commit
  22. 20 Nov, 2014 3 commits
  23. 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
  24. 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