1. 05 Apr, 2017 4 commits
    • Daniel Bartholomew's avatar
      bump the VERSION · d528fd72
      Daniel Bartholomew authored
      d528fd72
    • Marko Mäkelä's avatar
      Make InnoDB doublewrite buffer creation more robust. · 8423294a
      Marko Mäkelä authored
      buf_dblwr_create(): Remove a bogus check for the buffer pool size.
      Theoretically, there is no problem if the doublewrite buffer is
      larger than the buffer pool. It could only cause trouble on crash
      recovery, and on recovery the doublewrite buffer is read to a buffer
      that is allocated outside of the buffer pool. Moreover, this check
      was only performed when the database was initialized for the first
      time.
      
      On a normal startup, buf_dblwr_init() would not enforce any
      rule on the innodb_buffer_pool_size.
      
      Furthermore, in case of an error, commit the mini-transaction in order
      to avoid an assertion failure on shutdown. Yes, this will leave the
      doublewrite buffer in a corrupted stage, but the doublewrite buffer
      should only be initialized when the data files are being initialized
      from the scratch in the first place.
      8423294a
    • Marko Mäkelä's avatar
    • Marko Mäkelä's avatar
      MDEV-11840 InnoDB: "Cannot open <ib_buffer_pool file>" should not be an error · 0d34dd7c
      Marko Mäkelä authored
      buf_load(): When the file cannot be opened for reading, issue a note,
      not an error message.
      0d34dd7c
  2. 04 Apr, 2017 8 commits
  3. 03 Apr, 2017 5 commits
    • Igor Babaev's avatar
      Fixed bug mdev-10454. · 00ab154d
      Igor Babaev authored
      The patch actually fixes the old defect of the optimizer that
      could not extract keys for range access from IN predicates
      with row arguments.
      
      This problem was resolved in the mysql-5.7 code. The patch
      supersedes what was done there:
       - it can build range access when not all components of
       the first row argument are refer to the columns of the table
       for which the range access is constructed.
       - it can use equality predicates to build range access
       to the table that is not referred to in this argument.
      00ab154d
    • Marko Mäkelä's avatar
      MDEV-12428 SIGSEGV in buf_page_decrypt_after_read() during DDL · 9505c968
      Marko Mäkelä authored
      Also, some MDEV-11738/MDEV-11581 post-push fixes.
      
      In MariaDB 10.1, there is no fil_space_t::is_being_truncated field,
      and the predicates fil_space_t::stop_new_ops and fil_space_t::is_stopping()
      are interchangeable. I requested the fil_space_t::is_stopping() to be added
      in the review, but some added checks for fil_space_t::stop_new_ops were
      not replaced with calls to fil_space_t::is_stopping().
      
      buf_page_decrypt_after_read(): In this low-level I/O operation, we must
      look up the tablespace if it exists, even though future I/O operations
      have been blocked on it due to a pending DDL operation, such as DROP TABLE
      or TRUNCATE TABLE or other table-rebuilding operations (ALTER, OPTIMIZE).
      Pass a parameter to fil_space_acquire_low() telling that we are performing
      a low-level I/O operation and the fil_space_t::is_stopping() status should
      be ignored.
      9505c968
    • Sergei Petrunia's avatar
      Merge 10.2 into bb-10.2-mariarocks · 5e0ed691
      Sergei Petrunia authored
      5e0ed691
    • Sergei Petrunia's avatar
      Disable compilation of storage/rocksdb/unittest/test_properties_collector · 5c66eb5c
      Sergei Petrunia authored
      Met additional issues while trying to enable it.
      5c66eb5c
    • Jan Lindström's avatar
      MDEV-11629: Unknown table 'innodb_cmp_per_index_reset' in · c07bb700
      Jan Lindström authored
      information_schema. Added .opt file to enable running this
      test as a part of innodb_zip suite and recorded current
      correct results.
      c07bb700
  4. 02 Apr, 2017 15 commits
  5. 01 Apr, 2017 8 commits