1. 22 Aug, 2019 1 commit
  2. 19 Aug, 2019 1 commit
    • Olivier Bertrand's avatar
      Some small changes. · c0f90425
      Olivier Bertrand authored
      ===================
      - Modify tracing to use htrc to be compatible with old versions
        when this code is used to make an EOM module.
        modified:   storage/connect/restget.cpp
        modified:   storage/connect/tabrest.cpp
      
      - Path apparently not needed for the cpprest lib on Linux
        modified:   storage/connect/CMakeLists.txt
      c0f90425
  3. 17 Aug, 2019 1 commit
    • Olivier Bertrand's avatar
      In CONNECT version 1.6.10 NOSQL facility is enhanced by a new way to retrieve NOSQL data. · 4d93c7f3
      Olivier Bertrand authored
      In addition to files and Mongo collections, JSON as well as XML and CSV data can be retrieved
      from the net as answers from REST queries. Because it uses and external package (cpprestsdk)
      this is currently available only to MariaDB servers compiled from source.
      
      -- Add compile flags needed on Windows /MD or /MDd (debug)
      -- Also include some changes needed on Linux
        modified:   storage/connect/CMakeLists.txt
      
      - Add the xtrc tracing function
        modified:   storage/connect/global.h
        modified:   storage/connect/plugutil.cpp
      
      - Modify tracing to use xtrc and some typo
        modified:   storage/connect/array.cpp
        modified:   storage/connect/block.h
        modified:   storage/connect/restget.cpp
      
      - Fix compilation error when ZIP is not supported
        modified:   storage/connect/ha_connect.cc
        modified:   storage/connect/tabfmt.cpp
      
      - Add some tracing + typo
        modified:   storage/connect/mycat.cc
        modified:   storage/connect/tabjson.cpp
      
      - Add conditional code based on MARIADB
        This to be able to use the same code in CONNECT and EOM modules
        modified:   storage/connect/osutil.h
        modified:   storage/connect/tabrest.cpp
      
      - Replace PlugSetPath by some concat (crashed on Fedora) + typo
        modified:   storage/connect/reldef.cpp
      
      - Try to fix test failures
        modified:   zlib/CMakeLists.txt
      4d93c7f3
  4. 31 Jul, 2019 1 commit
  5. 30 Jul, 2019 1 commit
    • Olivier Bertrand's avatar
      In CONNECT version 1.6.10 NOSQL facility is enhanced by a new way to retrieve NOSQL data. · e4797a99
      Olivier Bertrand authored
      In addition to files and Mongo collections, JSON as well as XML and CSV data can be retrieved
      from the net as answers from REST queries. Because it uses and external package (cpprestsdk)
      this is currently available only to MariaDB servers compiled from source.
      
      -- Add the REST support when Microsoft Casablanca package (cpprestsdk) is installed.
      -- Also include some changes specific to MariaDB 10.3.
        modified:   storage/connect/CMakeLists.txt
      
      -- Add conditional REST support
      -- Added string options HTTP and URI.
      -- Added added internal table type TAB_REST.
        modified:   storage/connect/ha_connect.cc
        modified:   storage/connect/mycat.cc
        modified:   storage/connect/mycat.h
        modified:   storage/connect/plgdbsem.h
      
      -- Fix MDEV-19648 Variable connect_conv_size doesn't change
      -- Change Variable wrong block parameter from 8169 to 1.
      -- Also change connect_conv_size default value to 1024.
        modified:   storage/connect/ha_connect.cc
      
      -- Avoid possible buffer overflow
      -- In particular by the function ShowValue.
        modified:   storage/connect/tabdos.cpp
        modified:   storage/connect/tabfmt.cpp
        modified:   storage/connect/value.cpp
        modified:   storage/connect/value.h
      
      -- Add some cast to avoid some compiler warnings
        modified:   storage/connect/filamdbf.cpp
      
      -- Fix some C++ error
        modified:   storage/connect/javaconn.cpp
        modified:   storage/connect/jmgoconn.cpp
        modified:   storage/connect/plugutil.cpp
      
      -- Miscellaneous Typo and warning suppressing changes
        modified:   storage/connect/connect.cpp
        modified:   storage/connect/connect.h
        modified:   storage/connect/filamvct.cpp
        modified:   storage/connect/inihandl.cpp
        modified:   storage/connect/jsonudf.cpp
        modified:   storage/connect/libdoc.cpp
        modified:   storage/connect/tabjson.cpp
        modified:   storage/connect/tabtbl.cpp
        modified:   storage/connect/tabxml.cpp
        modified:   storage/connect/user_connect.cc
        modified:   storage/connect/user_connect.h
      
      -- Update failing test results and disbling
        modified:   storage/connect/mysql-test/connect/disabled.def
        modified:   storage/connect/mysql-test/connect/r/dir.result
        modified:   storage/connect/mysql-test/connect/r/grant.result
        modified:   storage/connect/mysql-test/connect/r/jdbc.result
        modified:   storage/connect/mysql-test/connect/r/jdbc_postgresql.result
        modified:   storage/connect/mysql-test/connect/r/xml.result
        modified:   storage/connect/mysql-test/connect/r/xml2.result
        modified:   storage/connect/mysql-test/connect/r/xml2_mult.result
        modified:   storage/connect/mysql-test/connect/r/xml_mult.result
      
      -- Add an option
        modified:   storage/connect/mysql-test/connect/t/grant.test
      e4797a99
  6. 25 Mar, 2019 1 commit
  7. 24 Mar, 2019 1 commit
  8. 23 Mar, 2019 1 commit
  9. 03 Mar, 2019 1 commit
    • Olivier Bertrand's avatar
      - Fix MDEV-18292: CONNECT Engine JDBC not able to issue · d421df7e
      Olivier Bertrand authored
        simple UPDATE statement from trigger or stored procedure
        Was not fixed when the same table was called several times
        with different modes. Fixed by checking if a new statement
        is compatible in the start_stmt function. It nows do the
        same checks than external_lock.
        modified:   storage/connect/ha_connect.cc
        modified:   storage/connect/ha_connect.h
      
      - typo
        modified:   storage/connect/user_connect.cc
      d421df7e
  10. 09 Feb, 2019 3 commits
  11. 07 Feb, 2019 4 commits
  12. 06 Feb, 2019 3 commits
  13. 05 Feb, 2019 11 commits
  14. 04 Feb, 2019 3 commits
  15. 03 Feb, 2019 3 commits
    • Marko Mäkelä's avatar
      Merge 10.1 into 10.2 · a249e57b
      Marko Mäkelä authored
      Temporarily disable a test for
      commit 2175bfce
      because fixing it in 10.2 requires updating libmariadb.
      a249e57b
    • Marko Mäkelä's avatar
      MDEV-16896 encryption.innodb-checksum-algorithm crashes · 955c7b32
      Marko Mäkelä authored
      buf_page_is_corrupted(): Read the global variable srv_checksum_algorithm
      only once in order to avoid a race condition when
      SET GLOBAL innodb_checksum_algorithm=...;
      is being executed concurrently with this function.
      955c7b32
    • Olivier Bertrand's avatar
      - Fix MDEV-13136: enhance CREATE SERVER MyServerName · a0e26599
      Olivier Bertrand authored
        FOREIGN DATA WRAPPER to work with CONNECT engine
        modified:   storage/connect/tabjdbc.cpp
      
      - Add a function to retrieve User variable value (DEVELOPMENT only)
        modified:   storage/connect/ha_connect.cc
        modified:   storage/connect/jsonudf.cpp
        modified:   storage/connect/jsonudf.h
        modified:   storage/connect/tabjdbc.cpp
      a0e26599
  16. 02 Feb, 2019 4 commits
    • Vladislav Vaintroub's avatar
      MDEV-18281 COM_RESET_CONNECTION changes the connection encoding · 261ce528
      Vladislav Vaintroub authored
      Store original charset during client authentication, and restore it for
      COM_RESET_CONNECTION
      261ce528
    • Marko Mäkelä's avatar
      Merge 10.1 into 10.1 · 213ece2f
      Marko Mäkelä authored
      This is joint work with Oleksandr Byelkin.
      213ece2f
    • Marko Mäkelä's avatar
      Fix embedded innodb_plugin after 560799eb · c1e1764f
      Marko Mäkelä authored
      wsrep_certification_rules: Define as a weak global symbol.
      While there are separate _embedded.a for statically
      linked storage engine plugins, there is only one ha_innodb.so
      which is supposed to work with both values of WITH_WSREP.
      
      The merge from 10.0-galera introduced a reference to a global
      variable that is only defined when the server is built WITH_WSREP.
      We must define that symbol as weak global, so that when
      a dynamically linked InnoDB or XtraDB is used with the embedded
      server (which never includes write-set replication patches),
      the variable will be read as 0, instead of causing a failure to
      load the InnoDB or XtraDB plugin.
      c1e1764f
    • Marko Mäkelä's avatar
      Some more fixes for --suite=galera_3nodes · 915ed7e6
      Marko Mäkelä authored
      915ed7e6