1. 11 Mar, 2018 1 commit
    • sjaakola's avatar
      MDEV-15540 · c439fdc9
      sjaakola authored
      The error log redirection for wsrep_recover run does not work in old version.
      For the wsrep_recovery run, error logging is supposed to go into:
      mysql-test/suite/galera/include/galera_wsrep_recover.inc
      In old version, this works only partially, 4 first lines of error messages after mysql startup
      do go into the galera_wsrep_recover.log, but after that the default error log file is enforced
      and remaining error logging goes into the default error log file.
      
      In this patch this problem is fixed by passing --log-error option in mysql startup
      
      This fix was tested with galera_gcache_recover test, which is currently in disabled state.
      Note that the test does not pass even after this fix, as there are further more issues
      in later test phases.
      c439fdc9
  2. 07 Mar, 2018 1 commit
  3. 02 Mar, 2018 1 commit
  4. 25 Feb, 2018 1 commit
    • Alexander Barkov's avatar
      MDEV-15420 Wrong result for CAST from TIME or DATETIME with zero integer part... · d0cc7a52
      Alexander Barkov authored
      MDEV-15420 Wrong result for CAST from TIME or DATETIME with zero integer part and non-zero microseconds to DECIMAL(X,Y)
      
      The loop in ull2dec() does not iterate if "from" is zero,
      so to->intg got erroneously set to 0 instead of 1.
      Because if this, my_decimal2seconds() wrote the fractional
      part into a wrong buf[x].
      
      Catching the special case with zero "from" and properly initialize "to"
      using decimal_make_zero().
      d0cc7a52
  5. 24 Feb, 2018 1 commit
  6. 22 Feb, 2018 7 commits
  7. 21 Feb, 2018 8 commits
  8. 20 Feb, 2018 3 commits
  9. 19 Feb, 2018 9 commits
  10. 18 Feb, 2018 3 commits
  11. 17 Feb, 2018 5 commits
    • Jan Lindström's avatar
    • Monty's avatar
      Fixed performance problem with Aria in find_head() · 55bc3f1d
      Monty authored
      For some simple benchmarks, a majority of time was
      spend in find_head() which tries to find the best
      place to put the record.
      
      The result of this patch is a 2x or more speedup for
      inserts without keys for format PAGE. All changes
      are only related to how rows are stored
      
      Should fix some of the problems mentioned in:
      MDEV-8132 Temporary tables using Aria with very poor performance
      MDEV-9079 Aria very slow for internal temporary tables
      MDEV-5841 Mariadb very poor temporary performance
      
      The following changes where done:
      - For rows with a small row length that fits into
        a page (818 bytes with 8192 pages), stop as soon as we
        hit a match.
      - Added markers full_head_size and full_tail_size that tells
        us where to start searching on the bitmap page
      - Ensure that page->used_size is correctly updated when
        bitmap grows. This allows us to stop searching at used_size
      - Added code to check that the bitmap variables are correct.
      - Fixed a wrong test where we set "first_bitmap_with_space".
        This shouldn't have caused any notable problems.
      55bc3f1d
    • Monty's avatar
      TokuDB didn't compile with valgrind · 965e1637
      Monty authored
      TokuDB uses USE_VALGRIND while MariaDB uses HAVE_valgrind
      
      Fixed by defining USE_VALGRIND in TokuDB if HAVE_valgrind is used
      965e1637
    • Monty's avatar
      f853b8ed
    • Marko Mäkelä's avatar
      Merge 10.1 into 10.2 · 970ce270
      Marko Mäkelä authored
      Disable the test encryption.innodb_encryption-page-compression
      because the wait_condition would seem to time out deterministically.
      MDEV-14814 has to be addressed in 10.2 separately.
      
      Datafile::validate_first_page(): Do not invoke
      page_size_t::page_size_t(flags) before validating the tablespace flags.
      This avoids a crash in MDEV-15333 innodb.restart test case.
      FIXME: Reduce the number of error messages. The first one is enough.
      970ce270