1. 27 Sep, 2016 3 commits
  2. 26 Sep, 2016 4 commits
  3. 24 Sep, 2016 1 commit
  4. 23 Sep, 2016 1 commit
  5. 22 Sep, 2016 1 commit
    • Sergey Vojtovich's avatar
      MDEV-10315 - Online ALTER TABLE may get stuck in tdc_remove_table · e56a5392
      Sergey Vojtovich authored
      There was race condition between online ALTER TABLE and statements performing
      TABLE_SHARE release without marking it flushed (e.g. in case of table cache
      overflow, SET @@global.table_open_cache, manager thread purging table cache).
      
      The reason was missing mysql_cond_broadcast().
      e56a5392
  6. 20 Sep, 2016 1 commit
    • Vicențiu Ciorbaru's avatar
      Fix tokudb jemalloc linking · 83d5b963
      Vicențiu Ciorbaru authored
      Linking tokudb with jemalloc privately causes problems on library
      load/unload. To prevent dangling destructor pointers, link with the same
      library as the server is using.
      83d5b963
  7. 19 Sep, 2016 1 commit
  8. 13 Sep, 2016 2 commits
  9. 12 Sep, 2016 4 commits
  10. 11 Sep, 2016 2 commits
  11. 10 Sep, 2016 2 commits
  12. 06 Sep, 2016 1 commit
  13. 05 Sep, 2016 1 commit
  14. 02 Sep, 2016 1 commit
  15. 29 Aug, 2016 1 commit
  16. 26 Aug, 2016 1 commit
  17. 25 Aug, 2016 5 commits
    • Daniel Bartholomew's avatar
      bump the VERSION · 39ec5ac4
      Daniel Bartholomew authored
      39ec5ac4
    • Sivert Sorumgard's avatar
      Bug#24388753: PRIVILEGE ESCALATION USING MYSQLD_SAFE · 48bd8b16
      Sivert Sorumgard authored
      [This is the 5.5/5.6 version of the bugfix].
      
      The problem was that it was possible to write log files ending
      in .ini/.cnf that later could be parsed as an options file.
      This made it possible for users to specify startup options
      without the permissions to do so.
      
      This patch fixes the problem by disallowing general query log
      and slow query log to be written to files ending in .ini and .cnf.
      48bd8b16
    • Jon Olav Hauglid's avatar
      Bug#24388746: PRIVILEGE ESCALATION AND RACE CONDITION USING CREATE TABLE · 4e547386
      Jon Olav Hauglid authored
      During REPAIR TABLE of a MyISAM table, a temporary data file (.TMD)
      is created. When repair finishes, this file is renamed to the original
      .MYD file. The problem was that during this rename, we copied the
      stats from the old file to the new file with chmod/chown. If a user
      managed to replace the temporary file before chmod/chown was executed,
      it was possible to get an arbitrary file with the privileges of the
      mysql user.
      
      This patch fixes the problem by not copying stats from the old
      file to the new file. This is not needed as the new file was
      created with the correct stats. This fix only changes server
      behavior - external utilities such as myisamchk still does
      chmod/chown.
      
      No test case provided since the problem involves synchronization
      with file system operations.
      4e547386
    • Terje Rosten's avatar
      Bug#24464380 PRIVILEGE ESCALATION USING MYSQLD_SAFE · 684a165f
      Terje Rosten authored
      Argument to malloc-lib must be included in restricted list of
      directories, symlink guards added, and mysqld and mysqld-version
      options restricted to command line only. Don't redirect errors to
      stderr.
      684a165f
    • Monty's avatar
      DEV-10595 MariaDB daemon leaks memory with specific query · ee97274c
      Monty authored
      The issue was that in some extreme cases when doing GROUP BY,
      buffers for temporary blobs where not properly cleared.
      ee97274c
  18. 24 Aug, 2016 1 commit
  19. 23 Aug, 2016 3 commits
  20. 22 Aug, 2016 2 commits
    • Monty's avatar
      Minor cleanups · a5051cd3
      Monty authored
      - Remove impossible test in test_quick_select
      - Ensure that is_fatal_error is set if we run out of stack space
      a5051cd3
    • Monty's avatar
      MDEV-10630 rpl.rpl_mdev6020 fails in buildbot with timeout · b5110969
      Monty authored
      The issue was that when running with valgrind the wait for master_pos_Wait()
      was not long enough.
      
      This patch also fixes two other failures that could affect rpl_mdev6020:
      - check_if_conflicting_replication_locks() didn't properly check domains
      - 'did_mark_start_commit' was after signals to other threads was sent which could
        get the variable read too early.
      b5110969
  21. 21 Aug, 2016 2 commits
    • Monty's avatar
      Fixed "Packets out of order" warning message on stdout in clients, · 5932fa78
      Monty authored
      compiled for debugging, when the server goes down
      
      This happens in the following scenario:
      - Server gets a shutdown message
      - Servers sends error ER_CONNECTION_KILLED to the clients connection
      - The client sends a query to the server, before the server has time to
        close the connection to the client
      - Client reads the ER_CONNECTION_KILLED error message
      
      In the above case, the packet number for the reply is one less than
      what the client expected and the client prints "Packets out of order".
      
      Fixed the following way:
      - The client accepts now error packages with a packet number
        one less than expected.
      - To ensure that this issue can be detected early in my_real_read(), error
        messages sent to the client are not compressed, even when compressed protocol is used.
      5932fa78
    • Monty's avatar
      Added new status variables to make it easier to debug certain problems: · 6f31dd09
      Monty authored
      - Handler_read_retry
      - Update_scan
      - Delete_scan
      6f31dd09