1. 21 Jun, 2019 3 commits
  2. 20 Jun, 2019 3 commits
  3. 19 Jun, 2019 1 commit
  4. 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
  5. 17 Jun, 2019 4 commits
    • 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
    • Vladislav Vaintroub's avatar
      MDEV-19750 mysql command wrong encoding · 5804bb4e
      Vladislav Vaintroub authored
      Restore the detection of default charset in command line utilities.
      It worked up to 10.1, but was broken by Connector/C.
      
      Moved code for detection of default charset from sql-common/client.c
      to mysys, and make command line utilities to use this code if charset
      was not specified on the command line.
      5804bb4e
    • Vladislav Vaintroub's avatar
      Portability fix. · 81f60e8a
      Vladislav Vaintroub authored
      81f60e8a
    • Michael Widenius's avatar
      MDEV-19055 Failures with temporary tables and Aria · c8b5fa4a
      Michael Widenius authored
      There was two separate problems:
      - Aria pagecache didn't properly handle re-reading of blocks
        that have given errors before (this triggered an assert)
      - temporary tables that where opened several times where
        not properly closed in ALTER, REPAIR or OPTIMIZE table
      
      Other things
      - Added a couple of asserts that will make it easier to
        find problems like this in the future.
      c8b5fa4a
  6. 16 Jun, 2019 15 commits
  7. 15 Jun, 2019 6 commits
  8. 14 Jun, 2019 2 commits
  9. 13 Jun, 2019 3 commits
  10. 12 Jun, 2019 1 commit