1. 20 Feb, 2020 3 commits
    • Thirunarayanan Balathandayuthapani's avatar
      MDEV-21563 FTS thread aborts during shutdown · 3ce49a0a
      Thirunarayanan Balathandayuthapani authored
      - Add warning suppression in misc_debug2 test.
      3ce49a0a
    • Anel Husakovic's avatar
      Clean wrong cherry-pick from previous commit · 0d1dd2e7
      Anel Husakovic authored
      - Delete variable HAVE_PTHREAD_CONDATTR_SETCLOCK and check
      - Delete second HAVE_PTHREAD_KEY_DELETE
      0d1dd2e7
    • Daniel Black's avatar
      my_getncpus based on threads available · fb01cc37
      Daniel Black authored
      Detecting the cpus based on sysconf of the online CPUs can significantly
      over estimate the number of cpus available.
      
      Wheither via numactl, cgroups, taskset, systemd constraints, docker
      containers and probably other mechanisms, the number of threads mysqld
      can be run on can be quite less.
      
      As such we use the pthread_getaffinity_np function on Linux and FreeBSD
      (identical API) to get the number of CPUs.
      
      The number of CPUs is the default for the thread_pool_size and a too
      high default will resulting in large memory usage and high context
      switching overhead.
      
      Closes PR #922
      fb01cc37
  2. 17 Feb, 2020 1 commit
  3. 14 Feb, 2020 1 commit
  4. 13 Feb, 2020 2 commits
  5. 12 Feb, 2020 1 commit
  6. 10 Feb, 2020 5 commits
  7. 09 Feb, 2020 2 commits
  8. 08 Feb, 2020 1 commit
    • Marko Mäkelä's avatar
      Remove unused SRV_MASTER_PURGE_INTERVAL · e568dc97
      Marko Mäkelä authored
      The symbol SRV_MASTER_PURGE_INTERVAL became unused in
      mysql/mysql-server@42f36919584e82c621dbec1e69fd05ab023c54c6
      when separate purge threads were introduced in MySQL 5.6.5.
      e568dc97
  9. 07 Feb, 2020 4 commits
  10. 06 Feb, 2020 3 commits
  11. 05 Feb, 2020 1 commit
  12. 03 Feb, 2020 2 commits
    • Marko Mäkelä's avatar
      Cleanup: Remove mem_block_t::magic_n and mem_block_validate() · a9d13248
      Marko Mäkelä authored
      Use of freed memory is better caught by AddressSanitizer,
      especially with ASAN_POISON_MEMORY_REGION that is aliased
      by MEM_NOACCESS and UNIV_MEM_FREE.
      a9d13248
    • Marko Mäkelä's avatar
      MDEV-21636 information_schema.innodb_mutexes.name column is not populated · 37b9734c
      Marko Mäkelä authored
      The column INFORMATION_SCHEMA.INNODB_MUTEXES.NAME is not populated ever since
      commit 2e814d47 applied the InnoDB changes from
      MySQL 5.7.9 to MariaDB Server 10.2.2.
      
      Since the same commit, the view is only providing information about
      rw_lock_t, not any mutexes.
      
      For now, let us convert the source code file name and line number of
      the rw_lock_t creation into a name. A better option in the future might
      be to store the information somewhere where it can be looked up by
      mysql_pfs_key_t, and possibly to remove the CREATE_FILE and CREATE_LINE
      columns.
      37b9734c
  13. 31 Jan, 2020 4 commits
  14. 30 Jan, 2020 2 commits
  15. 29 Jan, 2020 2 commits
    • Anel Husakovic's avatar
      Clean the comment for `table_f_c unt` parameter · 4932ec87
      Anel Husakovic authored
      Deleted with commit: c70a9fa1
      4932ec87
    • Sujatha's avatar
      MDEV-20923:UBSAN: member access within address … which does not point to an... · d89bb886
      Sujatha authored
      MDEV-20923:UBSAN: member access within address … which does not point to an object of type 'xid_count_per_binlog'
      
      Problem:
      -------
      Accessing a member within 'xid_count_per_binlog' structure results in
      following error when 'UBSAN' is enabled.
      
      member access within address 0xXXX which does not point to an object of type
      'xid_count_per_binlog'
      
      Analysis:
      ---------
      The problem appears to be that no constructor for 'xid_count_per_binlog' is
      being called, and thus the vtable will not be initialized.
      
      Fix:
      ---
      Defined a parameterized constructor for 'xid_count_per_binlog' class.
      d89bb886
  16. 28 Jan, 2020 5 commits
  17. 27 Jan, 2020 1 commit