1. 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
  2. 25 Mar, 2019 1 commit
  3. 24 Mar, 2019 1 commit
  4. 23 Mar, 2019 1 commit
  5. 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
  6. 09 Feb, 2019 3 commits
  7. 07 Feb, 2019 4 commits
  8. 06 Feb, 2019 3 commits
  9. 05 Feb, 2019 11 commits
  10. 04 Feb, 2019 3 commits
  11. 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
  12. 02 Feb, 2019 6 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
    • Julius Goryavsky's avatar
      MDEV-18379: IPv6 compatibility changes/Unification of check for IPv6 · dfc9bff5
      Julius Goryavsky authored
      This patch contains the port of the MDEV-18379 patch
      for 10.2 branch, but also includes a number of changes
      made within MDEV-17835, which are necessary for the
      normal operation of tests that use IPv6:
      
      1) Currently, the three-node mtr suite for Galera (galera_3nodes)
      uses a separate IPv6 availability check using the "have_ipv6.inc"
      file. This check duplicates a more accurate check at suite.pm
      level, which can be used by including the file "check_ipv6.inc".
      This patch removes this discrepancy between suites.
      
      2) Fixed numerous bugs in the SST scripts and in the mtr test
      files (galera_3nodes mtr suite) that prevented the use of Galera
      with IPv6 addresses.
      
      3) Fixed flaws in the galera_3nodes mtr suite control scripts,
      because of which they could not work with mariabackup.
      
      4) Fixed flaws in the rsync and mysqldump tests (for galera_3nodes
      mtr tests suite). These tests were not performed successfully
      without these fixes.
      
      5) GAL-501 test in the galera_3nodes suite does not contain the
      option "--bind-address=::" that is needed for the test to work
      correctly with IPv6 (at least on some systems), since without
      it the server will not wait for connections on the IPv6
      interface.
      
      https://jira.mariadb.org/browse/MDEV-18379
      and partially https://jira.mariadb.org/browse/MDEV-17835
      dfc9bff5
    • Marko Mäkelä's avatar
      Merge 10.1 into 10.2 · 081fd8bf
      Marko Mäkelä authored
      081fd8bf
  13. 01 Feb, 2019 2 commits