1. 26 Jun, 2018 4 commits
    • Daniel Bartholomew's avatar
      bump the VERSION · 0e937f30
      Daniel Bartholomew authored
      0e937f30
    • Marko Mäkelä's avatar
      Merge 10.1 into 10.2 · 1b4ac075
      Marko Mäkelä authored
      1b4ac075
    • Marko Mäkelä's avatar
      MDEV-16515 InnoDB: Failing assertion: ++retries < 10000 in file · c4eb4bce
      Marko Mäkelä authored
      dict0dict.cc
      
      buf_LRU_drop_page_hash_for_tablespace(): Return whether any adaptive
      hash index entries existed. If yes, the caller should keep retrying to
      drop the adaptive hash index.
      
      row_import_for_mysql(), row_truncate_table_for_mysql(),
      row_drop_table_for_mysql(): Ensure that the adaptive hash index was
      entirely dropped for the table.
      c4eb4bce
    • Igor Babaev's avatar
      MDEV-16473 WITH statement throws 'no database selected' error · 7d0d934c
      Igor Babaev authored
      Before this patch if no default database was set the server threw
      an error for any table name reference that was not fully qualified by
      database name. In particular it happened for table names referenced
      CTE tables. This was incorrect.
      The error message was thrown at the parser stage when the names referencing
      different tables were not resolved yet.
      Now if no default database is set and  a with clause is used in the
      processed statement  any table reference is just supplied with a dummy
      database name "*none*" at the parser stage. Later after a call
      of check_dependencies_in_with_clauses() when the names for CTE tables
      can be resolved error messages are thrown only for those names that
      refer to non-CTE tables. This is done in open_and_process_table().
      7d0d934c
  2. 25 Jun, 2018 6 commits
  3. 24 Jun, 2018 8 commits
  4. 22 Jun, 2018 3 commits
  5. 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
  6. 20 Jun, 2018 6 commits