1. 16 Dec, 2015 1 commit
  2. 15 Dec, 2015 1 commit
    • Daniel Axtens's avatar
      Use POWER8 accelerated crc32 · 2538c7cf
      Daniel Axtens authored
       - Make accelerated checksum available to InnoDB and XtraDB.
       - Fall back to slice-by-eight if not available. The mode used is printed on startup.
       - Will only build on POWER systems at the moment until CMakeLists are modified
         to only add the crc32_power8/ files when building on POWER.
      
      running MySQL-5.7 unittest/gunit/innodb/ut0crc32-t
      
      Before:
      
      1..2
      Using software crc32 implementation, CPU is little-endian
      ok 1
      Using software crc32 implementation, CPU is little-endian
          normal CRC32: real    0.148006 sec
          normal CRC32: user    0.148000 sec
          normal CRC32: sys     0.000000 sec
      big endian CRC32: real    0.144293 sec
      big endian CRC32: user    0.144000 sec
      big endian CRC32: sys     0.000000 sec
      ok 2
      
      After:
      
      1..2
      Using POWER8 crc32 implementation, CPU is little-endian
      ok 1
      Using POWER8 crc32 implementation, CPU is little-endian
          normal CRC32: real    0.008097 sec
          normal CRC32: user    0.008000 sec
          normal CRC32: sys     0.000000 sec
      big endian CRC32: real    0.147043 sec
      big endian CRC32: user    0.144000 sec
      big endian CRC32: sys     0.000000 sec
      ok 2
      
      Author CRC32 ASM code: Anton Blanchard <anton@au.ibm.com>
      ref: https://github.com/antonblanchard/crc32-vpmsumSigned-off-by: default avatarDaniel Black <daniel.black@au.ibm.com>
      2538c7cf
  3. 10 Dec, 2015 1 commit
    • Monty's avatar
      Fixed a bug in galera + some failing galera tests · 44b107da
      Monty authored
      - Added missning setting of table->rpl_write_set in record_gtid(), required by galera
      - Removed output of WSREP_PATCH_VERSION from galera_defaults, as this can change over time
      - Limit galera_many_tables_pk and galera_many_tables_nopk to 900, as
        on many systems the default open table limit is 1024
      44b107da
  4. 09 Dec, 2015 2 commits
  5. 03 Dec, 2015 1 commit
    • Christian Loos's avatar
      switch from myisam_recover to myisam_recover_options · f3e53298
      Christian Loos authored
      myisam_recover is only an alias for myisam_recover_options.
      Use the option name instead of the alias is more correct.
      This also avoids an note about the use of an alias instead of the option
      name on every server start.
      f3e53298
  6. 02 Dec, 2015 1 commit
  7. 25 Nov, 2015 1 commit
  8. 24 Nov, 2015 3 commits
  9. 23 Nov, 2015 3 commits
    • Nirbhay Choubey's avatar
      MDEV-9033: Incorrect statements binlogged on slave with do_domain_ids=(...) · 22b59426
      Nirbhay Choubey authored
      Post-fix: The test case pushed with the fix had each node
      acting as slave to the other two nodes with different set
      of filters on server_id's. The slave's gtid_slave_pos is
      updated after it processes the events received from master
      nodes irrespective of whether the events were filtered
      or not. Thus, sync_with_master_gtid.inc could unblock even
      on filtered events.
      As a result, sync_with_master_gtid.inc would fail to block
      until the desired changes have been replicated.  Fixed by
      simplifying the topology.
      Also, modified CHANGE MASTER commands to ignore based
      on gtid_domain_id instead of server_id.
      22b59426
    • Sergey Vojtovich's avatar
      MDEV-9128 - Compiling on IBM System Z fails · edf6354b
      Sergey Vojtovich authored
      Provided IBM System Z have outdated compiler version, which supports gcc sync
      builtins but not gcc atomic builtins. It also has weak memory model.
      
      InnoDB attempted to verify if __sync_lock_test_and_set() is available by
      checking IB_STRONG_MEMORY_MODEL. This macro has nothing to do with availability
      of __sync_lock_test_and_set(), the right one is HAVE_ATOMIC_BUILTINS.
      edf6354b
    • Sergey Vojtovich's avatar
      MDEV-7806 - thread_pool_size is not auto-sized · f00d7657
      Sergey Vojtovich authored
      thread_pool_size is auto-sized before my_getopt(). But my_getopt starts from
      resetting all options to their default values. So the auto-sized value is lost.
      
      Fixed by moving thread_pool_size auto-sizing after my_getopt().
      f00d7657
  10. 21 Nov, 2015 1 commit
  11. 20 Nov, 2015 6 commits
  12. 19 Nov, 2015 10 commits
  13. 18 Nov, 2015 7 commits
    • Sergei Golubchik's avatar
      Merge branch '5.5' into 10.0 · ab476a8d
      Sergei Golubchik authored
      ab476a8d
    • Sergei Petrunia's avatar
      MDEV-7370: Server deadlocks on renaming a table for which persistent statistics exists · f91798dd
      Sergei Petrunia authored
      RENAME TABLE code tries to update EITS statistics. It hung, because
      it used an index on (db_name,table_name) to find the table, and attempted
      to update these values at the same time. The fix is do what SQL UPDATE
      statement does when updating index that it's used for scanning:
      - First, buffer the rowids of rows to be updated,
      - then make the second pass to actually update the rows
      
      Also fixed the call to rename_table_in_stat_tables() in sql_rename.cc
      to pass the correct new database (before, it passed old db_name so cross-
      database renames were not handled correctly).
      
      Variant #2, with review feedback addressed.
      f91798dd
    • Monty's avatar
      Fixed buildbot failures on Solaris 64 bit · c2ec8977
      Monty authored
      rpl/rpl_mdev382     ; Wrong replace in show_binlog_events2.inc
      binlog/database     ; Different error on Solaris if file exists
      mroonga/repair_table_no_index_file ; Different system error on Solaris
      partition_not_blackhole ; Different error on Solaris
      partition_myisam     ; Different error on Solaris
      
      Some other failures in mroonga was because have_32bit.inc didn't correctly
      detect 64 bits on Solaris. Fixed using DEFAULT_MACHINE instead of MACHINE_TYPE
      for Sys_version_compile_machine.
      c2ec8977
    • Monty's avatar
    • Sergei Golubchik's avatar
      MDEV-9051 mysqld got signal 11, after upgrade to 10.1.8 · 43a50909
      Sergei Golubchik authored
      feedback plugin needs to set tables->select_lex properly
      43a50909
    • Sergei Golubchik's avatar
      feedback plugin debug · 72616298
      Sergei Golubchik authored
      make it possible to change feedback plugin wait intervals
      * only in debug builds
      * and force the feedback report to be ignored
      
      update the test to use this feature
      72616298
    • Nirbhay Choubey's avatar
      Incorrect statements binlogged on slave with do_domain_ids=(...) · f47124c9
      Nirbhay Choubey authored
      In domain ID based filtering, a flag is used to filter-out
      the events that belong to a particular domain. This flag gets
      set when IO thread receives a GTID_EVENT for the domain on
      filter list and its reset at the last event in the GTID group.
      The resetting, however, was wrongly done before the decision to
      write/filter the event from relay log is made. As a result, the
      last event in the group will always pass through the filter.
      Fixed by deferring the reset logic. Also added a test case.
      f47124c9
  14. 17 Nov, 2015 2 commits