1. 03 Jul, 2019 3 commits
  2. 02 Jul, 2019 5 commits
  3. 01 Jul, 2019 6 commits
  4. 28 Jun, 2019 2 commits
    • Thirunarayanan Balathandayuthapani's avatar
      MDEV-17228 Encrypted temporary tables are not encrypted · 723a4b1d
      Thirunarayanan Balathandayuthapani authored
      - Introduce a new variable called innodb_encrypt_temporary_tables which is
      a boolean variable. It decides whether to encrypt the temporary tablespace.
      - Encrypts the temporary tablespace based on full checksum format.
      - Introduced a new counter to track encrypted and decrypted temporary
      tablespace pages.
      - Warnings issued if temporary table creation has conflict value with
      innodb_encrypt_temporary_tables
      - Added a new test case which reads and writes the pages from/to temporary
      tablespace.
      723a4b1d
    • Thirunarayanan Balathandayuthapani's avatar
      MDEV-19781 Add page id matching check in innochecksum tool · e4a0dbfb
      Thirunarayanan Balathandayuthapani authored
      Added the condition in innochecksum tool to check page id mismatch.
      This could catch the write corruption caused by InnoDB.
      
      Added the debug insert inside fil_io() to check whether it writes
      the page to wrong offset.
      e4a0dbfb
  5. 27 Jun, 2019 4 commits
  6. 26 Jun, 2019 1 commit
  7. 25 Jun, 2019 2 commits
  8. 24 Jun, 2019 2 commits
  9. 23 Jun, 2019 1 commit
  10. 21 Jun, 2019 3 commits
  11. 20 Jun, 2019 4 commits
  12. 19 Jun, 2019 3 commits
  13. 18 Jun, 2019 2 commits
    • Michael Widenius's avatar
      MDEV-19595 fixed · 8acbf9c1
      Michael Widenius authored
      The test cases for the MDEV found several independent bugs
      in MariaDB server and Aria:
      - If a temporary table was marked as crashed, it could never
        be deleted.
      - Opening of a crashed temporary table gave an error message
        but the error was never forwarded to the caller which caused
        an assert() in my_ok()
      - init_read_record() did mmap of all temporary tables, which is
        probably not a good idea as this area can potentially be
        very big. Changed code to only mmap internal temporary tables.
      - mmap-ed tables where not unmapped in case of repair/optimize
        which caused bad data in table and crashes if the original
        table files where replaced with new ones (as the old mmap
        was still in place). Fixed by removing the mmap in case
        of repair.
      - Cleaned up usage of code that disabled mmap in Aria
      8acbf9c1
    • Michael Widenius's avatar
      MDEV-18078 Assertion `trnman_has_locked_tables(trn) > 0' failed · b23c82fe
      Michael Widenius authored
      Problem was that in case of implicit rollback for alter table
      Aria did try to run commit twice.
      
      The test case for this is tricky to do in 10.2, so it will
      be added to 10.4 as part of BACKUP STAGE testing.
      b23c82fe
  14. 17 Jun, 2019 2 commits
    • Igor Babaev's avatar
      MDEV-19790 Wrong result for query with outer join and IS NOT TRUE predicate · 167da05f
      Igor Babaev authored
                 in where clause
      
      The classes Item_func_isnottrue and Item_func_isnotfalse inherited the
      implementation of the eval_not_null_tables method from the Item_func
      class. As a result the not_null_tables_cache was set incorrectly for
      the objects of these classes. It led to improper conversion of outer
      joins to inner joins when the where clause of the processed query
      contained IS NOT TRUE or IS NOT FALSE predicates. The coverted query
      in many cases produced a wrong result set.
      167da05f
    • Vladislav Vaintroub's avatar
      Fix debug assert to match its intention. · 71eea0c3
      Vladislav Vaintroub authored
      Do not check my_errno before it is set, check errno instead.
      Also, do not check errno, if prior pread() did not fail.
      71eea0c3