1. 05 Jun, 2014 4 commits
    • Sergei Golubchik's avatar
      MDEV-5998 MySQL Bug#11756966 - 48958: STORED PROCEDURES CAN BE LEVERAGED TO... · 37d35377
      Sergei Golubchik authored
      MDEV-5998 MySQL Bug#11756966 - 48958: STORED PROCEDURES CAN BE LEVERAGED TO BYPASS DATABASE SECURITY
      
      Merge from mysql-5.6:
      revno: 3257
      committer: Jon Olav Hauglid <jon.hauglid@oracle.com>
      branch nick: mysql-trunk-bug11756966
      timestamp: Thu 2011-07-14 09:32:01 +0200
      message:
        Bug#11756966 - 48958: STORED PROCEDURES CAN BE LEVERAGED TO BYPASS
                       DATABASE SECURITY
      
        The problem was that CREATE PROCEDURE/FUCTION could be used to
        check the existence of databases for which the user had no
        privileges and therefore should not be allowed to see.
      
        The reason was that existence of a given database was checked
        before privileges. So trying to create a stored routine in
        a non-existent database would give a different error than trying
        to create a stored routine in a restricted database.
      
        This patch fixes the problem by changing the order of the checks
        for CREATE PROCEDURE/FUNCTION so that privileges are checked first.
        This means that trying to create a stored routine in a
        non-existent database and in a restricted database both will
        give ER_DBACCESS_DENIED_ERROR error.
      
        Test case added to grant.test.
      37d35377
    • Sergei Golubchik's avatar
      MDEV-6149 Include file pcre.h missing in binary dist, meaing I_S plugins can't be built · 29065d50
      Sergei Golubchik authored
      when the bundled pcre is used, install its pcre.h in mysql/private/
      29065d50
    • Sergei Golubchik's avatar
      MDEV-6243 mysql_install_db or mysql_upgrade fails when default_engine=archive · e22c3810
      Sergei Golubchik authored
      don't use the default storage engine for mysql.gtid_slave_pos, prefer innodb.
      but alter it to myisam in mtr, because many tests run without innodb.
      e22c3810
    • Sergei Golubchik's avatar
      MDEV-6258 MariaDB 10.0 performance schema timestamps relative to epoch · 59cea2e1
      Sergei Golubchik authored
      don't use the interval timer when absolute time values are needed
      59cea2e1
  2. 04 Jun, 2014 3 commits
    • Michael Widenius's avatar
      Fixed compiler warnings · 414e8388
      Michael Widenius authored
      mysys/psi_noop.c:
        Fixed wrong prototype
      sql/rpl_gtid.cc:
        Added #ifndef to hide not used variable
      storage/connect/connect.cc:
        Added volatile to avoid compiler warning in gcc 4.8.1
      storage/connect/filamvct.cpp:
        Added volatile to avoid compiler warning in gcc 4.8.1
      storage/maria/ma_checkpoint.c:
        Removed cast to avoid compiler warning
      storage/myisam/mi_delete_table.c:
        Added attribute to avoid compiler warning
      storage/tokudb/ha_tokudb.cc:
        Use LINT_INIT_STRUCT to avoid compiler warnings
      storage/tokudb/hatoku_hton.cc:
        Use LINT_INIT_STRUCT to avoid compiler warnings
      storage/tokudb/tokudb_card.h:
        Use LINT_INIT_STRUCT to avoid compiler warnings
      storage/tokudb/tokudb_status.h:
        Use LINT_INIT_STRUCT to avoid compiler warnings
      414e8388
    • unknown's avatar
      MDEV-6046: MySQL Bug#11766684 59851: UNINITIALISED VALUE IN... · 113333d4
      unknown authored
      MDEV-6046: MySQL Bug#11766684 59851: UNINITIALISED VALUE IN ITEM_FUNC_LIKE::SELECT_OPTIMIZE WITH SUBQUERY AND
      113333d4
    • Sergei Golubchik's avatar
      fix the code to compile without P_S · 67bf16a4
      Sergei Golubchik authored
      67bf16a4
  3. 03 Jun, 2014 2 commits
  4. 02 Jun, 2014 2 commits
  5. 30 May, 2014 2 commits
  6. 26 May, 2014 2 commits
  7. 13 May, 2014 1 commit
  8. 10 May, 2014 2 commits
  9. 09 May, 2014 5 commits
  10. 08 May, 2014 7 commits
  11. 07 May, 2014 10 commits