1. 22 Oct, 2014 1 commit
    • Kristian Nielsen's avatar
      Fix two races in test main.processlist that could cause random failures (seen in Buildbot) · 64af1ecc
      Kristian Nielsen authored
      1. Do not use NULL `info' field in processlist to select the thread of
      interest. This can fail if the read of processlist ends up happening after
      REAP succeeds, but before the `info' field is reset. Instead, select on the
      CONNECTION_ID(), making sure we still scan the whole list to trigger the same
      code as in the original test case.
      
      2. Wait for the query to really complete before reading it in the
      processlist. When REAP returns, it only means that ack has been sent to
      client, the reset of query stage happens a bit later in the code.
      64af1ecc
  2. 21 Oct, 2014 2 commits
  3. 20 Oct, 2014 2 commits
  4. 15 Oct, 2014 1 commit
    • Sergey Vojtovich's avatar
      MDEV-6872 - innodb.innodb fails on PPC64 · f09a8ba6
      Sergey Vojtovich authored
      innodb_buffer_pool_pages_total depends on page size. On Power8 it is 65k
      compared to 4k on Intel. As we round allocations on page size we may get
      slightly more memory for buffer pool.
      f09a8ba6
  5. 14 Oct, 2014 1 commit
    • Sergey Petrunya's avatar
      MDEV-6484: Assertion `tab->ref.use_count' failed on query with joins, constant... · b261ec39
      Sergey Petrunya authored
      MDEV-6484: Assertion `tab->ref.use_count' failed on query with joins, constant table, multi-part key
      
      - test_if_skip_sort_order()/create_ref_for_key() may change table 
        access from EQ_REF(index1) to REF(index2). 
      - Doing so doesn't make much sense from optimization POV, but since 
        they are doing it, they should update tab->read_record.unlock_row
        accordingly.
      b261ec39
  6. 08 Oct, 2014 4 commits
  7. 07 Oct, 2014 11 commits
  8. 06 Oct, 2014 3 commits
  9. 03 Oct, 2014 1 commit
  10. 02 Oct, 2014 7 commits
  11. 25 Sep, 2014 1 commit
  12. 03 Oct, 2014 1 commit
  13. 25 Sep, 2014 1 commit
    • Sergey Vojtovich's avatar
      MDEV-6774 - Deadlock between SELECT, DROP TABLE, SHOW STATUS and · b737d902
      Sergey Vojtovich authored
                  SET @@global.log_output
      
      Deadlock chain:
      rdlock(LOCK_logger) -> lock(LOCK_open)     SELECT 1
      lock(LOCK_open)     -> lock(LOCK_status)   DROP TABLE t1
      lock(LOCK_status)   -> lock(LOCK_g_s_v)    SHOW STATUS
      lock(LOCK_g_s_)     -> wrlock(LOCK_logger) SET @@global.log_output=DEFAULT
      
      Fixed by removing relationship between LOCK_status and
      LOCK_global_system_variables during SHOW STATUS: we don't really need
      LOCK_global_system_variables when accessing status vars.
      b737d902
  14. 18 Sep, 2014 1 commit
    • Sergey Vojtovich's avatar
      MDEV-6749 - Deadlock between GRANT/REVOKE, SELECT FROM I_S.COLUMNS, · d1e46a50
      Sergey Vojtovich authored
                  SET slow_query_log and failed connection attempt
      
      A very subtle though valid deadlock. Deadlock chain:
      wrlock(LOCK_grant)    -> lock(acl_cache->lock) GRANT/REVOKE CREATE/DROP USER
      lock(LOCK_open)       -> rdlock(LOCK_grant)    SELECT * FROM I_S.COLUMNS
      wrlock(LOCK_logger)   -> lock(LOCK_open)       SET @@global.slow_query_log='ON'
      lock(acl_cache->lock) -> rdlock(LOCK_logger)   Failed connection
      
      Fixed by removing relationship between acl_cache->lock and LOCK_logger
      during failed connection attempt.
      d1e46a50
  15. 23 Sep, 2014 3 commits