1. 15 Sep, 2015 1 commit
    • Olivier Bertrand's avatar
      Fix assert error for where clause with UDF's · f4fe1383
      Olivier Bertrand authored
          was fixed in HA_CONNECT::CondFilter moving res= pval->val_str(&tmp)
          but this was wrong. Now res is only used for strings.
      Change version number
        modified:   storage/connect/ha_connect.cc
      
      Add some new UDF's
        modified:   storage/connect/json.cpp
        modified:   storage/connect/json.h
        modified:   storage/connect/jsonudf.cpp
        modified:   storage/connect/jsonudf.h
      
      Fix change in tests json_udf
        modified:   storage/connect/mysql-test/connect/r/json_udf.result
        modified:   storage/connect/mysql-test/connect/t/json_udf.inc
        modified:   storage/connect/mysql-test/connect/t/json_udf.test
      f4fe1383
  2. 07 Sep, 2015 1 commit
  3. 06 Sep, 2015 1 commit
    • Olivier Bertrand's avatar
      Add experimental Bson_Array function (not documented) · 7915abff
      Olivier Bertrand authored
      Change names of functions not returning Json.
        modified:   storage/connect/json.cpp
        modified:   storage/connect/json.h
        modified:   storage/connect/jsonudf.cpp
        modified:   storage/connect/jsonudf.h
        modified:   storage/connect/mysql-test/connect/r/json_udf.result
        modified:   storage/connect/plugutil.c
        modified:   storage/connect/value.cpp
        modified:   storage/connect/value.h
      7915abff
  4. 22 Aug, 2015 2 commits
  5. 19 Aug, 2015 1 commit
    • Olivier Bertrand's avatar
      Add new UDF noconst. · ffc0f5b3
      Olivier Bertrand authored
        modified:   storage/connect/noconst.c
      
      Fix a few bugs in json udf's.
        modified:   storage/connect/jsonudf.cpp
      ffc0f5b3
  6. 18 Aug, 2015 1 commit
  7. 14 Aug, 2015 1 commit
    • Olivier Bertrand's avatar
      Add new json UDFs and make possible to use a json file name as json item. · 55cb3d8b
      Olivier Bertrand authored
        modified:   storage/connect/json.cpp
        modified:   storage/connect/json.h
        modified:   storage/connect/jsonudf.cpp
        modified:   storage/connect/mysql-test/connect/r/json_udf.result
        modified:   storage/connect/mysql-test/connect/t/json.test
        modified:   storage/connect/tabjson.cpp
      
      Fix wrong calculation of Estimated Length when the table has virtual or special columns
        modified:   storage/connect/reldef.h
        modified:   storage/connect/tabdos.cpp
      
      Fix wrong handling of null values in ODBCCOL::ReadColumn
        modified:   storage/connect/tabodbc.cpp
      
      Fix crash when SetValue_char is called with a negative length value.
      This can happen in odbconn.cpp when SQLFetch returns SQL_NO_TOTAL (-4) as length.
        modified:   storage/connect/odbconn.cpp
        modified:   storage/connect/value.cpp
      55cb3d8b
  8. 22 Jul, 2015 1 commit
  9. 16 Jul, 2015 1 commit
    • Olivier Bertrand's avatar
      Fix and Enhance remote indexing: · a392c795
      Olivier Bertrand authored
      - Apply to ODBC tables as well as MYSQL tables
      - Fix and enhance the CheckCond routine
        Make ReadKey and MakeKeyWhere handle all conditions
        modified:   storage/connect/.gitattributes
        modified:   storage/connect/.gitignore
        modified:   storage/connect/connect.cc
        modified:   storage/connect/connect.h
        modified:   storage/connect/ha_connect.cc
        modified:   storage/connect/ha_connect.h
        modified:   storage/connect/mycat.cc
        modified:   storage/connect/tabmysql.cpp
        modified:   storage/connect/tabmysql.h
        modified:   storage/connect/tabodbc.cpp
        modified:   storage/connect/tabodbc.h
        modified:   storage/connect/xobject.cpp
        modified:   storage/connect/xobject.h
        modified:   storage/connect/xtable.h
      
      Add some new tests:
        storage/connect/mysql-test/connect/r/endian.result
        storage/connect/mysql-test/connect/r/mysql_index.result
        storage/connect/mysql-test/connect/t/endian.test
        storage/connect/mysql-test/connect/t/mysql_index.test
      a392c795
  10. 07 Jun, 2015 1 commit
  11. 06 Jun, 2015 1 commit
  12. 05 Jun, 2015 4 commits
  13. 04 Jun, 2015 1 commit
    • Jan Lindström's avatar
      MDEV-8250: InnoDB: Page compressed tables are not compressed and... · f7002c05
      Jan Lindström authored
      MDEV-8250: InnoDB: Page compressed tables are not compressed and compressed+encrypted tables cause crash
      
      Analysis: Problem is that both encrypted tables and compressed tables use
      FIL header offset FIL_PAGE_FILE_FLUSH_LSN_OR_KEY_VERSION to store
      required metadata. Furhermore, for only compressed tables currently
      code skips compression.
      
      Fixes:
      - Only encrypted pages store key_version to FIL header offset FIL_PAGE_FILE_FLUSH_LSN_OR_KEY_VERSION,
        no need to fix
      - Only compressed pages store compression algorithm to FIL header offset FIL_PAGE_FILE_FLUSH_LSN_OR_KEY_VERSION,
        no need to fix as they have different page type FIL_PAGE_PAGE_COMPRESSED
      - Compressed and encrypted pages now use a new page type FIL_PAGE_PAGE_COMPRESSED_ENCRYPTED and
        key_version is stored on FIL header offset FIL_PAGE_FILE_FLUSH_LSN_OR_KEY_VERSION and compression
        method is stored after FIL header similar way as compressed size, so that first
        FIL_PAGE_COMPRESSED_SIZE is stored followed by FIL_PAGE_COMPRESSION_METHOD
      - Fix buf_page_encrypt_before_write function to really compress pages if compression is enabled
      - Fix buf_page_decrypt_after_read function to really decompress pages if compression is used
      - Small style fixes
      f7002c05
  14. 03 Jun, 2015 4 commits
  15. 02 Jun, 2015 19 commits