1. 08 Oct, 2014 1 commit
    • Nirbhay Choubey's avatar
      MDEV-6481: Yum Upgrade on CentOS 6.5 causes instant · 7dd74fa3
      Nirbhay Choubey authored
      crash of MariaDB/Galera
      
      mysqld crashes during startup when its started with --wsrep-recover
      (mysqld_safe.sh). The problem was that during server startup "wsrep"
      handle is not initialized for --wsrep-recover and since the condition
      to register wsrep hton depended only on 'wsrep_on' global/session
      variables (WSREP(thd) macro), it can eventually get registered and
      calls to wsrep handle's functions (commit, rollback, etc.) can be
      made (SIGSEGV!).
      
      Fixed by adding a check for "wsrep" pointer in WSREP(thd) macro
      (added by lp:1367173). Additionally, a check for WSREP(thd)
      (instead of checking the availability of wsrep provider) has been
      added before invoking wsrep handle's commit & rollback functions.
      7dd74fa3
  2. 04 Oct, 2014 1 commit
  3. 30 Sep, 2014 1 commit
  4. 29 Sep, 2014 1 commit
  5. 24 Sep, 2014 4 commits
  6. 23 Sep, 2014 7 commits
  7. 22 Sep, 2014 2 commits
    • Michael Widenius's avatar
      Fixed test failures · 504c6ccc
      Michael Widenius authored
      Added comments
      Ensure that tokudb test works even if jemalloc is not installed
      Removed not referenced function Item::remove_fixed()
      
      mysql-test/suite/rpl/t/rpl_gtid_reconnect.test:
        Fixed race condition
      sql/item.cc:
        Indentation fix
      sql/item.h:
        Removed not used function
        Added comment
      sql/sql_select.cc:
        Fixed indentation
      storage/tokudb/mysql-test/rpl/include/have_tokudb.opt:
        Ensure that tokudb test works even if jemalloc is not installed
      storage/tokudb/mysql-test/tokudb/suite.opt:
        Ensure that tokudb test works even if jemalloc is not installed
      storage/tokudb/mysql-test/tokudb_add_index/suite.opt:
        Ensure that tokudb test works even if jemalloc is not installed
      storage/tokudb/mysql-test/tokudb_alter_table/suite.opt:
        Ensure that tokudb test works even if jemalloc is not installed
      storage/tokudb/mysql-test/tokudb_bugs/suite.opt:
        Ensure that tokudb test works even if jemalloc is not installed
      storage/tokudb/mysql-test/tokudb_mariadb/suite.opt:
        Ensure that tokudb test works even if jemalloc is not installed
      504c6ccc
    • Nirbhay Choubey's avatar
      MDEV-6740 : Galera crash in rpl_sql_thread_info/cached_charset_compare · 4538665a
      Nirbhay Choubey authored
      Properly initialized rpl_sql_thread_info for bf threads.
      Also removed some dead code.
      4538665a
  8. 19 Sep, 2014 1 commit
  9. 18 Sep, 2014 5 commits
  10. 17 Sep, 2014 4 commits
  11. 16 Sep, 2014 7 commits
  12. 15 Sep, 2014 6 commits
    • Michael Widenius's avatar
      Auto merge · 8db1f728
      Michael Widenius authored
      8db1f728
    • Michael Widenius's avatar
      Don't give warning if there are two unique keys used with INSERT .. ON DUPLICATE KEY UPDATE. · 8e4566e9
      Michael Widenius authored
      We should assume that the store engine will report the first duplicate key for this case.
      
      Old code of suppression of unsafe logging error with LIMIT didn't work, because of wrong usage of my_interval_timer().
      
      Suppress unsafe logging errors to the error log if we get too many unsafe logging errors in a short time.
      This is to not overflow the error log with meaningless errors.
      
      - Each error code is suppressed and counted separately.
      - We do a 5 minute suppression of new errors if we get more than 10 errors in that time.
      
      Only print unsafe logging errors if log_warnings > 1.
      
      
      
      mysql-test/suite/binlog/r/binlog_stm_unsafe_warning.result:
        Update test results as INSERT ... ON DUPLICATE KEY UPDATE doesn't get logged anymore
      mysql-test/suite/binlog/r/binlog_unsafe.result:
        Update test results as INSERT ... ON DUPLICATE KEY UPDATE doesn't get logged anymore
      mysql-test/suite/engines/README:
        Fixed typos
      mysql-test/suite/rpl/r/rpl_known_bugs_detection.result:
        Update test results as INSERT ... ON DUPLICATE KEY UPDATE doesn't get logged anymore
      sql/sql_base.cc:
        Don't log warning if there are two unique keys used with INSERT .. ON DUPLICATE KEY UPDATE.
        We should assume that the store engine will report the first duplicate key for this case.
      sql/sql_class.cc:
        Suppress error in binary log if we get too many unsafe logging errors in a short time.
        Only print unsafe logging errors if log_warnings > 1
      8e4566e9
    • Michael Widenius's avatar
      Fixed randomly failing test · e167c48a
      Michael Widenius authored
      e167c48a
    • Rich Prohaska's avatar
      bb75cf06
    • Sergei Golubchik's avatar
    • Elena Stepanova's avatar
      Changes in storage_engine test suite: · b41d5aeb
      Elena Stepanova authored
        - added more logic for ON DUPICATE KEY UPDATE upon Monty's request;
        - added an overlay for XtraDB
      b41d5aeb