1. 03 Nov, 2017 2 commits
  2. 02 Nov, 2017 8 commits
    • Igor Babaev's avatar
      Fixed mdev-14093 Wrong result upon JOIN with INDEX with no rows · beac522b
      Igor Babaev authored
      in joined table + GROUP BY + GROUP_CONCAT + HAVING + ORDER BY
      [by field from HAVING] + 1 row expected
      
      The fix is actually a port of the fix for bug #17055185 from
      mysql code line (see commit f289aeeef0743508ff87211084453b3b88a6d017
      by Mithun C Y into mysql-5.6). The test case for the bug #17055185
      was also ported.
      beac522b
    • Monty's avatar
      Fixed compiler warning and unitialized memory warning · 3ab112eb
      Monty authored
      - The valgrind warning came from JOIN::optimize() (sql_select.cc:1123)
      3ab112eb
    • Monty's avatar
      Updated valgrind.supp · a17e7d07
      Monty authored
      a17e7d07
    • Monty's avatar
      Reduce memory used by maria_open · c127a1ba
      Monty authored
      - Allocate only enough memory that we need for key status
        - Saves ~100K temp usage on maria_open
      c127a1ba
    • Monty's avatar
      Reducing memory when using information schema · 9ec19b9b
      Monty authored
      The background is that one user had a lot of views and using some complex
      queries on information schema temporary memory of more than 2G was used.
      
      - Added new element 'total_alloc' to MEM_ROOT for easier debugging.
      - Added MAX_MEMORY_USED to information_schema.processlist.
      - Added new status variable "Memory_used_initial" that shows how much MariaDB
        uses at startup. This gives the base value for "Memory_used".
      - Reuse memory continuously for information schema queries instead of
        only freeing memory at query end.
      
      Other things
      - Removed some not needed set_notnull() calls for not null columns.
      9ec19b9b
    • Vladislav Vaintroub's avatar
      Fix a warning. · b0cfb168
      Vladislav Vaintroub authored
      b0cfb168
    • Marko Mäkelä's avatar
      MDEV-14244 MariaDB 10.2.10 fails to run on Debian Stretch with ext3 and O_DIRECT · 19733efa
      Marko Mäkelä authored
      os_file_set_size(): If posix_fallocate() returns EINVAL, fall back
      to writing zero bytes to the file. Also, remove some error log output,
      and make it possible for a server shutdown to interrupt the fall-back
      code.
      
      MariaDB 10.2 used to handle the EINVAL return value from posix_fallocate()
      before commit b731a5bc
      which refactored os_file_set_size() to try posix_fallocate().
      
      Why is the EINVAL returned? The GNU posix_fallocate() function
      would first try the fallocate() system call, which would return
      -EOPNOTSUPP for many file systems (notably, not ext4). Then, it
      would fall back to extending the file one block at a time by invoking
      pwrite(fd, "", 1, offset) where offset is 1 less than a multiple of
      the file block size. This would fail with EINVAL if the file is in
      O_DIRECT mode, because O_DIRECT requires aligned operation.
      19733efa
    • Monty's avatar
      Fixed compiler warning and warning from valgrind · 0f4e0055
      Monty authored
      The failing test was main.gis-json
      0f4e0055
  3. 01 Nov, 2017 3 commits
  4. 31 Oct, 2017 7 commits
  5. 30 Oct, 2017 10 commits
  6. 29 Oct, 2017 6 commits
  7. 27 Oct, 2017 4 commits