1. 01 Mar, 2015 1 commit
    • Olivier Bertrand's avatar
      - Fix crash when Json_Value was called without arguments. · 5c8862ee
      Olivier Bertrand authored
        Correct memory calculation in Serialize.
        Correct some UDF's messages.
        Add and modify the json tests
      removed:
        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
      added:
        storage/connect/mysql-test/connect/r/json_udf.result
        storage/connect/mysql-test/connect/std_data/biblio.json
        storage/connect/mysql-test/connect/std_data/expense.json
        storage/connect/mysql-test/connect/std_data/mulexp3.json
        storage/connect/mysql-test/connect/std_data/mulexp4.json
        storage/connect/mysql-test/connect/std_data/mulexp5.json
        storage/connect/mysql-test/connect/t/json_udf.test
      modified:
        storage/connect/json.cpp
        storage/connect/jsonudf.cpp
        storage/connect/mysql-test/connect/r/json.result
        storage/connect/mysql-test/connect/t/json.test
      5c8862ee
  2. 28 Feb, 2015 1 commit
    • Olivier Bertrand's avatar
      - Implement random access to ODBC tables · d862d7c0
      Olivier Bertrand authored
      modified:
        storage/connect/odbconn.cpp
        storage/connect/odbconn.h
      
      - Fix get proper length of ODBC DECIMAL column in discovery
      modified:
        storage/connect/ha_connect.cc
        storage/connect/mysql-test/connect/r/odbc_oracle.result
      
      - Implement random access to JSON tables
      modified:
        storage/connect/tabjson.cpp
        storage/connect/tabjson.h
      
      - Fix MDEV-7636
      modified:
        storage/connect/tabutil.cpp
      d862d7c0
  3. 25 Feb, 2015 1 commit
  4. 24 Feb, 2015 1 commit
  5. 22 Feb, 2015 1 commit
    • Olivier Bertrand's avatar
      - Add new Json UDF's Json_Array_Add, Json_Array_Grp and Json_Object_Grp. · a736e63f
      Olivier Bertrand authored
        Handle longjmp's raised during json processing.
      modified:
        storage/connect/global.h
        storage/connect/ha_connect.cc
        storage/connect/json.cpp
        storage/connect/jsonudf.cpp
      
      - Fix wrong references to the suppressed g->Trace variables.
      modified:
        storage/connect/global.h
        storage/connect/plugutil.c
        storage/connect/tabjson.cpp
        storage/connect/tabodbc.cpp
      a736e63f
  6. 19 Feb, 2015 1 commit
  7. 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
  8. 12 Feb, 2015 1 commit
  9. 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
  10. 08 Feb, 2015 2 commits
  11. 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
  12. 02 Feb, 2015 2 commits
  13. 01 Feb, 2015 1 commit
  14. 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
  15. 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
  16. 27 Jan, 2015 3 commits
  17. 24 Jan, 2015 3 commits
  18. 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
  19. 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
  20. 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
  21. 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
  22. 13 Jan, 2015 1 commit
  23. 09 Jan, 2015 1 commit
  24. 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
  25. 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
  26. 24 Nov, 2014 3 commits
  27. 23 Nov, 2014 1 commit