1. 14 Dec, 2017 2 commits
  2. 13 Dec, 2017 11 commits
  3. 12 Dec, 2017 4 commits
  4. 11 Dec, 2017 9 commits
  5. 09 Dec, 2017 3 commits
    • Jan Lindström's avatar
      de76cbdc
    • Jan Lindström's avatar
      MDEV-14401: Stored procedure that declares a handler that catches... · feb8296e
      Jan Lindström authored
      MDEV-14401: Stored procedure that declares a handler that catches ER_LOCK_DEADLOCK error causes thd->is_error() assertion
      
      This was missing bug fix from MySQL wsrep i.e. Galera.
      Problem was that if stored procedure declares a handler that
      catches deadlock error, then the error may have been
      cleared in method sp_rcontext::handle_sql_condition().
      Use wsrep_conflict_state correctly to determine is the
      error already sent to client.
      
      Add test case for both this bug and MDEV-12837: WSREP: BF
      lock wait long. Test requires both fixes to pass.
      feb8296e
    • Jan Lindström's avatar
      MDEV-12837: WSREP: BF lock wait long · e66bb572
      Jan Lindström authored
      This is 10.1 version where no merge error exists.
      
      wsrep_on_check
              New check function. Galera can't be enabled
              if innodb-lock-schedule-algorithm=VATS.
      
      innobase_kill_query
              In Galera async kill we could own lock mutex.
      
      innobase_init
              If Variance-Aware-Transaction-Sheduling Algorithm (VATS) is
              used on Galera we refuse to start InnoDB.
      
      Changed innodb-lock-schedule-algorithm as read-only parameter
      as it was designed to be.
      
      lock_rec_other_has_expl_req,
      lock_rec_other_has_conflicting,
      lock_rec_lock_slow
      lock_table_other_has_incompatible
      lock_rec_insert_check_and_lock
      
              Change pointer to conflicting lock to normal pointer as this
              pointer contents could be changed later.
      e66bb572
  6. 08 Dec, 2017 6 commits
  7. 07 Dec, 2017 5 commits
    • Sergei Petrunia's avatar
      MDEV-14607: storage_engine-rocksdb.type_bit_indexes fails after latest pushes · 578b2659
      Sergei Petrunia authored
      Update the .result file. Old EXPLAIN output was incorrect due to
      hitting MDEV-14563.
      578b2659
    • Monty's avatar
      Fixed failing tokudb tests · 1374f958
      Monty authored
      This was caused by my earlier fix for rpl.rpl_row_log_innodb :(
      1374f958
    • Jan Lindström's avatar
      4d016e6e
    • Jan Lindström's avatar
      MDEV-14401: Stored procedure that declares a handler that catches... · ba576c5b
      Jan Lindström authored
      MDEV-14401: Stored procedure that declares a handler that catches ER_LOCK_DEADLOCK error causes thd->is_error() assertion
      
      This was missing bug fix from MySQL wsrep i.e. Galera.
      Problem was that if stored procedure declares a handler that
      catches deadlock error, then the error may have been
      cleared in method sp_rcontext::handle_sql_condition().
      Use wsrep_conflict_state correctly to determine is the
      error already sent to client.
      
      Add test case for both this bug and MDEV-12837: WSREP: BF
      lock wait long. Test requires both fixes to pass.
      ba576c5b
    • Jan Lindström's avatar
      MDEV-12837: WSREP: BF lock wait long · da3a3a68
      Jan Lindström authored
      Problem was a merge error from MySQL wsrep i.e. Galera.
      
      wsrep_on_check
      	New check function. Galera can't be enabled
      	if innodb-lock-schedule-algorithm=VATS.
      
      innobase_kill_query
      	In Galera async kill we could own lock mutex.
      
      innobase_init
      	If Variance-Aware-Transaction-Sheduling Algorithm (VATS) is
      	used on Galera we fall back to First-Come-First-Served (FCFS)
      	with notice to user.
      
      Changed innodb-lock-schedule-algorithm as read-only parameter
      as it was designed to be.
      
      lock_reset_lock_and_trx_wait
      	Use ib::hex() to print out transaction ID.
      
      lock_rec_other_has_expl_req,
      lock_rec_other_has_conflicting,
      RecLock::add_to_waitq
      lock_rec_lock_slow
      lock_table_other_has_incompatible
      lock_rec_insert_check_and_lock
      lock_prdt_other_has_conflicting
      
      	Change pointer to conflicting lock to normal pointer as this
      	pointer contents could be changed later.
      
      RecLock::create
      	Conclicting lock pointer is moved to last parameter with
      	default value NULL. This conflicting transaction could
      	be selected as victim in Galera if requesting transaction
      	is BF (brute force) transaction. In this case contents
      	of conflicting lock pointer will be changed. Use ib::hex() to print
      	transaction ids.
      da3a3a68