1. 26 Jun, 2018 9 commits
  2. 25 Jun, 2018 7 commits
  3. 24 Jun, 2018 9 commits
  4. 22 Jun, 2018 3 commits
  5. 21 Jun, 2018 12 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