1. 21 Apr, 2017 2 commits
    • Marko Mäkelä's avatar
      Merge 10.0 into 10.1 · 8c38147c
      Marko Mäkelä authored
      8c38147c
    • Marko Mäkelä's avatar
      MDEV-12488 Remove type mismatch in InnoDB printf-like calls · 87b6df31
      Marko Mäkelä authored
      This is a reduced version of an originally much larger patch.
      We will keep the definition of the ulint, lint data types unchanged,
      and we will not be replacing fprintf() calls with ib_logf().
      
      On Windows, use the standard format strings instead of nonstandard
      extensions.
      
      This patch fixes some errors in format strings.
      Most notably, an IMPORT TABLESPACE error message in InnoDB was
      displaying the number of columns instead of the mismatching flags.
      87b6df31
  2. 20 Apr, 2017 2 commits
    • Marko Mäkelä's avatar
      MDEV-12534 Use atomic operations whenever available · d34a67b0
      Marko Mäkelä authored
      Allow 64-bit atomic operations on 32-bit systems,
      only relying on HAVE_ATOMIC_BUILTINS_64, disregarding
      the width of the register file.
      
      Define UNIV_WORD_SIZE correctly on all systems, including Windows.
      In MariaDB 10.0 and 10.1, it was incorrectly defined as 4 on
      64-bit Windows.
      
      Define HAVE_ATOMIC_BUILTINS_64 on Windows
      (64-bit atomics are available on both 32-bit and 64-bit Windows
      platforms; the operations were unnecessarily disabled even on
      64-bit Windows).
      
      MONITOR_OS_PENDING_READS, MONITOR_OS_PENDING_WRITES: Enable by default.
      
      os_file_n_pending_preads, os_file_n_pending_pwrites,
      os_n_pending_reads, os_n_pending_writes: Remove.
      Use the monitor counters instead.
      
      os_file_count_mutex: Remove. On a system that does not support
      64-bit atomics, monitor_mutex will be used instead.
      d34a67b0
    • Daniel Black's avatar
      OSX: get cache line size · 5136295b
      Daniel Black authored
      5136295b
  3. 19 Apr, 2017 1 commit
  4. 17 Apr, 2017 2 commits
  5. 10 Apr, 2017 1 commit
    • Kristian Nielsen's avatar
      MDEV-11201: gtid_ignore_duplicates incorrectly ignores statements when GTID... · 88613e1d
      Kristian Nielsen authored
      MDEV-11201: gtid_ignore_duplicates incorrectly ignores statements when GTID replication is not enabled
      
      When master_use_gtid=no, the IO thread loads the slave GTID state from
      the master during connect. This races with the SQL thread when
      gtid_ignore_duplicates=1. If an event is in the relay log from before
      the new connect and has not been applied yet, moving the slave
      position causes the SQL thread to think that event should be skipped
      due to gtid_ignore_duplicates=1.
      
      This patch simply disables gtid_ignore_duplicates when not using GTID,
      which seems to be what one would expect.
      88613e1d
  6. 09 Apr, 2017 1 commit
  7. 06 Apr, 2017 31 commits