• marko's avatar
    branches/innodb+: Merge revisions 3931:4006 from branches/zip: · 2ae364a5
    marko authored
      ------------------------------------------------------------------------
      r3938 | marko | 2009-01-15 10:28:23 +0200 (Thu, 15 Jan 2009) | 3 lines
    
      branches/zip: buf_LRU_invalidate_tablespace(), buf_LRU_free_block():
      Add comments and assertions that buf_LRU_block_remove_hashed_page()
      will release block_mutex when it returns BUF_BLOCK_ZIP_FREE.
      ------------------------------------------------------------------------
      r3939 | marko | 2009-01-15 10:37:51 +0200 (Thu, 15 Jan 2009) | 7 lines
    
      branches/zip: buf0lru.c: Improve debug assertions.
    
      buf_LRU_block_free_non_file_page(): ut_ad(block) before dereferencing block.
    
      buf_LRU_block_remove_hashed_page(): Forbid buf_pool_mutex_exit() while
      calling buf_buddy_free().  Callers of buf_LRU_block_remove_hashed_page()
      assume that the buffer pool mutex will not be released and reacquired.
      ------------------------------------------------------------------------
      r3944 | vasil | 2009-01-15 21:15:00 +0200 (Thu, 15 Jan 2009) | 4 lines
    
      branches/zip:
    
      Add ChangeLog entries for the bug fixes in r3911 and r3930.
      ------------------------------------------------------------------------
      r3958 | marko | 2009-01-16 14:53:40 +0200 (Fri, 16 Jan 2009) | 8 lines
    
      branches/zip: Add assertions that the kernel_mutex is being held
      while accessing table->locks or un_member.tab_lock.locks.
      This is related to Issue #158.  According to static analysis,
      the added debug assertions should always hold.
    
      lock_table_has_to_wait_in_queue(), lock_queue_iterator_reset(),
      lock_queue_iterator_get_prev(), add_trx_relevant_locks_to_cache(),
      fetch_data_into_cache(): Add ut_ad(mutex_own(&kernel_mutex)).
      ------------------------------------------------------------------------
      r4006 | marko | 2009-01-20 16:29:22 +0200 (Tue, 20 Jan 2009) | 33 lines
    
      branches/zip: Merge revisions 3930:4005 from branches/5.1:
    
        ------------------------------------------------------------------------
        r4004 | marko | 2009-01-20 16:19:00 +0200 (Tue, 20 Jan 2009) | 12 lines
    
        branches/5.1: Merge r4003 from branches/5.0:
    
        rec_set_nth_field(): When the field already is SQL null,
        do nothing when it is being changed to SQL null. (Bug #41571)
    
        Normally, MySQL does not pass "do-nothing" updates to the storage engine.
        When it does and a column of an InnoDB table that is in ROW_FORMAT=COMPACT
        is being updated from NULL to NULL, the InnoDB buffer pool will be corrupted
        without this fix.
    
        rb://81 approved by Heikki Tuuri
        ------------------------------------------------------------------------
        r4005 | marko | 2009-01-20 16:22:36 +0200 (Tue, 20 Jan 2009) | 8 lines
    
        branches/5.1: lock_is_table_exclusive(): Acquire kernel_mutex before
        accessing table->locks and release kernel_mutex before returning from
        the function.  This fixes a portential race condition in the
        "commit every 10,000 rows" in ALTER TABLE, CREATE INDEX, DROP INDEX,
        and OPTIMIZE TABLE. (Bug #42152)
    
        rb://80 approved by Heikki Tuuri
        ------------------------------------------------------------------------
    2ae364a5
lock0iter.c 2.46 KB