1. 02 Nov, 2016 3 commits
    • Oleksandr Byelkin's avatar
      MDEV-9114: Bulk operations (Array binding) · e2d69126
      Oleksandr Byelkin authored
      (+ default values)
      e2d69126
    • Darshan M N's avatar
      Bug#23631471 BUF_BLOCK_ALIGN() MAKES INCORRECT ASSUMPTIONS ABOUT CHUNK SIZE · c6713f65
      Darshan M N authored
      Issue:
      ======
      Currently the approach we take to find the chunk corresponding to a given
      pointer uses srv_buf_pool_chunk_unit based on the assumption that
      srv_buf_pool_chunk_unit is the total size of all pages in a buffer pool
      chunk. We first step back by srv_buf_pool_chunk_unit bytes and use
      std::map::upper_bound() to find the first chunk in the map whose key >= the
      resulting pointer.
      
      However, the real size of a chunk (and thus, the total size of its pages)
      may differ from the value configured with innodb_buffer_pool_chunk_size
      due to rounding up to the OS page size. So, in some cases the above logic
      gives us the wrong chunk.
      
      Fix:
      ====
      We find out the chunk corresponding to the give pointer without using
      srv_buf_pool_chunk_unit. This is done by using std::map::upper_bound()
      to find the next chunk in the map which appears right after the pointer and
      decrementing the iterator, which would give us the chunk the pointer
      belongs to.
      
      Contribution by Alexey Kopytov.
      
      RB: 13347
      Reviewed-by: default avatarDebarun Banerjee <debarun.banerjee@oracle.com>
      c6713f65
    • Sergey Vojtovich's avatar
      MDEV-11175 - \H option does not replace localhost with a host name · ce101166
      Sergey Vojtovich authored
      Let \H issue host name when connected to localhost via TCP/IP.
      ce101166
  2. 01 Nov, 2016 1 commit
  3. 31 Oct, 2016 2 commits
    • Sergey Vojtovich's avatar
      MDEV-8791 - AIX: Unresolved Symbols during linking · 71e11bce
      Sergey Vojtovich authored
      Clean-up nolock.h: it doesn't serve any purpose anymore. Appropriate code moved
      to x86-gcc.h and my_atomic.h.
      
      If gcc sync bultins were detected, we want to make use of them independently of
      __GNUC__ definition. E.g. XLC simulates those, but doesn't define __GNUC__.
      
      HS/Spider: According to AIX manual alloca() returns char*, which cannot be
      casted to any type with static_cast. Use explicit cast instead.
      
      MDL: Removed namemangling pragma, which didn't let MariaDB build with XLC.
      
      WSREP: _int64 seem to be conflicting name with XLC, replaced with _integer64.
      
      CONNECT: RTLD_NOLOAD is GNU extention. Removed rather meaningless check if
      library is loaded. Multiple dlopen()'s of the same library are permitted,
      and it never gets closed anyway. Except for error, which was a bug: it may
      close library, which can still be referenced by other subsystems.
      
      InnoDB: __ppc_get_timebase() is GNU extention. Only use it when __GLIBC__ is
      defined.
      
      Based on contribution by flynn1973.
      71e11bce
    • Kristian Nielsen's avatar
      40ad9466
  4. 29 Oct, 2016 2 commits
  5. 28 Oct, 2016 2 commits
  6. 27 Oct, 2016 19 commits
  7. 25 Oct, 2016 2 commits
  8. 24 Oct, 2016 3 commits
  9. 23 Oct, 2016 6 commits