1. 24 Jun, 2018 1 commit
  2. 22 Jun, 2018 3 commits
  3. 21 Jun, 2018 13 commits
    • Sergei Golubchik's avatar
      ef64856b
    • Sergei Golubchik's avatar
    • Sergei Golubchik's avatar
      Merge branch '10.1' into 10.2 · b942aa34
      Sergei Golubchik authored
      b942aa34
    • Alexander Barkov's avatar
    • Sergei Golubchik's avatar
      mysql_install_db: clarify the after-install message · 635c5e32
      Sergei Golubchik authored
      don't tell users to set the root password if they're using unix_socket
      635c5e32
    • Sergei Golubchik's avatar
      don't use my_error(0) or my_printf_error(0) · df704b5a
      Sergei Golubchik authored
      there's an assert that catches it
      df704b5a
    • Sergei Golubchik's avatar
      af2dd582
    • Sergei Golubchik's avatar
      MDEV-16238 root/localhost authn prioritizes authentication_string over Password · 5f051022
      Sergei Golubchik authored
      Don't let SET PASSWORD to set the password, if auth_string is set.
      
      Now SET PASSWORD always sets the plugin/auth_string fields and clears
      the password field (on pre-plugin mysql.user table it works as before).
      5f051022
    • Georg Richter's avatar
      b4db59ba
    • Sergei Golubchik's avatar
      MDEV-14578: mysql_install_db install unix_socket plugin when... · 1db1340c
      Sergei Golubchik authored
      MDEV-14578: mysql_install_db install unix_socket plugin when --auth-root-authentication-method=socket
      
      post-merge fixes
      1db1340c
    • Daniel Black's avatar
      MDEV-14578: mysql_install_db install unix_socket plugin when... · 53db5edb
      Daniel Black authored
      MDEV-14578: mysql_install_db install unix_socket plugin when --auth-root-authentication-method=socket
      
      $ cmake -DPLUGIN_AUTH_SOCKET=STATIC ../mariadb-server-10.2/
      
      $ scripts/mysql_install_db --datadir=/tmp/mysqldatadir-auth-static --auth-root-socket-user=dan --auth-root-authentication-method=socket --builddir=.  --srcdir=../mariadb-server-10.2
      Installing MariaDB/MySQL system tables in '/tmp/mysqldatadir-auth-static' ...
      OK
      
      $ client/mysql -S /tmp/mysql.sock -e 'show create user dan@localhost'
      +----------------------------------------------------------+
      | CREATE USER for dan@localhost                            |
      +----------------------------------------------------------+
      | CREATE USER 'dan'@'localhost' IDENTIFIED VIA unix_socket |
      +----------------------------------------------------------+
      
      $ cmake -DPLUGIN_AUTH_SOCKET=NO ../mariadb-server-10.2/
      $ scripts/mysql_install_db --datadir=/tmp/mysqldatadir-auth-none --auth-root-socket-user=dan --auth-root-authentication-method=socket --builddir=.  --srcdir=../mariadb-server-10.2
      Installing MariaDB/MySQL system tables in '/tmp/mysqldatadir-auth-none' ...
      ERROR: 1126  Can't open shared library '.../plugin/auth_socket/auth_socket.so' (errno: 2, cannot open shared object file: No such file or directory)
      2018-05-01 11:38:56 0 [ERROR] Aborting
      
      $ cmake -DPLUGIN_AUTH_SOCKET=DYNAMIC ../mariadb-server-10.2/
      $ scripts/mysql_install_db --datadir=/tmp/mysqldatadir-auth-dyn --auth-root-socket-user=dan --auth-root-authentication-method=socket --builddir=.  --srcdir=../mariadb-server-10.2
      Installing MariaDB/MySQL system tables in '/tmp/mysqldatadir-auth-dyn' ...
      OK
      $ ./sql/mysqld  --datadir=/tmp/mysqldatadir-auth-dyn  --lc-messages-dir=${PWD}/sql/share --plugin-dir=./plugin/auth_socket/
      $ client/mysql -S /tmp/mysql.sock -e 'show create user dan@localhost'
      +----------------------------------------------------------+
      | CREATE USER for dan@localhost                            |
      +----------------------------------------------------------+
      | CREATE USER 'dan'@'localhost' IDENTIFIED VIA unix_socket |
      +----------------------------------------------------------+
      
      $ sudo make install
      $ sudo chmod a+rwx /usr/local/mysql/data
      $ cd /usr/local/mysql/
      $ scripts/mysql_install_db  --auth-root-socket-user=dan --auth-root-authentication-method=socket
      Installing MariaDB/MySQL system tables in './data' ...
      OK
      ..
      $ bin/mysqld_safe
      $ client/mysql -S /tmp/mysql.sock -e 'show create user dan@localhost'
      +----------------------------------------------------------+
      | CREATE USER for dan@localhost                            |
      +----------------------------------------------------------+
      | CREATE USER 'dan'@'localhost' IDENTIFIED VIA unix_socket |
      +----------------------------------------------------------+
      
      Merges #767
      53db5edb
    • Sergei Golubchik's avatar
      MDEV-13403 Mariadb (with TokuDB) excessive memory usage/leak · 1033fa4b
      Sergei Golubchik authored
      In RPM/DEB packages - always ld-preload jemalloc, instead
      of linking ha_tokudb.so with it.
      
      Keep linking in bintars, because they don't install cnf files
      in the correct locations.
      1033fa4b
    • Sergei Golubchik's avatar
      Merge branch '10.0' into 10.1 · c09a8b5b
      Sergei Golubchik authored
      c09a8b5b
  4. 20 Jun, 2018 10 commits
  5. 19 Jun, 2018 10 commits
  6. 18 Jun, 2018 3 commits
    • Alexey Botchkov's avatar
      MDEV-16209 JSON_EXTRACT in query crashes server. · 5ba6cee0
      Alexey Botchkov authored
      The optimizer can create various item's over the original one,
          so we can't count on the exact item's type inside the comparison.
      5ba6cee0
    • Daniel Bartholomew's avatar
      bump the VERSION · f7b1b2bc
      Daniel Bartholomew authored
      f7b1b2bc
    • Thirunarayanan Balathandayuthapani's avatar
      MDEV-16087 Inconsistent SELECT results when query cache is enabled · eb77f8cf
      Thirunarayanan Balathandayuthapani authored
      The following conditions will decide the query cache retrieval or
      storing inside innodb:
      
          (1) There should not be any locks on the table.
          (2) Some other trx shouldn't invalidated the cache before the
          transaction started.
          (3) Read view shouldn't exist. If exists then the view
          low_limit_id should be greater than or equal to the transaction that
          invalidates the cache for the particular table.
      
       For read-only transaction: should satisfy  the above (1) and (3)
       For read-write transaction: should satisfy the above (1), (2), (3).
      
       - Changed the variable from query_cache_inv_id to query_cache_inv_trx_id.
      
       - Moved the function row_search_check_if_query_cache_permitted from
          row0sel.h and made it as static function in ha_innodb.cc
      eb77f8cf