]> git.pld-linux.org Git - packages/mysql.git/blobdiff - innodb_opt_lru_count.patch
- up to 5.5.18
[packages/mysql.git] / innodb_opt_lru_count.patch
index b894c1c8ba35e6e32a9e809e0f94a82e51a5a4a7..6e5be8090a1d0e5038bef1157318617b87ea814a 100644 (file)
@@ -18,7 +18,7 @@
                ut_a(buf_page_get_state(bpage) == BUF_BLOCK_ZIP_FREE);
 --- a/storage/innobase/buf/buf0buf.c
 +++ b/storage/innobase/buf/buf0buf.c
-@@ -881,9 +881,9 @@
+@@ -880,9 +880,9 @@
        block->page.in_zip_hash = FALSE;
        block->page.in_flush_list = FALSE;
        block->page.in_free_list = FALSE;
@@ -29,7 +29,7 @@
  #if defined UNIV_AHI_DEBUG || defined UNIV_DEBUG
        block->n_pointers = 0;
  #endif /* UNIV_AHI_DEBUG || UNIV_DEBUG */
-@@ -1428,7 +1428,7 @@
+@@ -1366,7 +1366,7 @@
  
        memcpy(dpage, bpage, sizeof *dpage);
  
@@ -38,7 +38,7 @@
        ut_d(bpage->in_page_hash = FALSE);
  
        /* relocate buf_pool->LRU */
-@@ -3279,8 +3279,8 @@
+@@ -3188,8 +3188,8 @@
                bpage->in_zip_hash = FALSE;
                bpage->in_flush_list = FALSE;
                bpage->in_free_list = FALSE;
@@ -48,7 +48,7 @@
  
                ut_d(bpage->in_page_hash = TRUE);
  
-@@ -3445,7 +3445,7 @@
+@@ -3354,7 +3354,7 @@
        ibuf_merge_or_delete_for_page(NULL, space, offset, zip_size, TRUE);
  
        /* Flush pages from the end of the LRU list if necessary */
  
 --- a/storage/innobase/buf/buf0rea.c
 +++ b/storage/innobase/buf/buf0rea.c
-@@ -200,7 +200,7 @@
+@@ -367,7 +367,7 @@
        }
  
        /* Flush pages from the end of the LRU list if necessary */
  
        /* Increment number of I/O operations used for LRU policy. */
        buf_LRU_stat_inc_io();
-@@ -474,7 +474,7 @@
+@@ -641,7 +641,7 @@
        os_aio_simulated_wake_handler_threads();
  
        /* Flush pages from the end of the LRU list if necessary */
  
  #ifdef UNIV_DEBUG
        if (buf_debug_prints && (count > 0)) {
-@@ -562,7 +562,7 @@
+@@ -729,7 +729,7 @@
        os_aio_simulated_wake_handler_threads();
  
        /* Flush pages from the end of all the LRU lists if necessary */
  
  #ifdef UNIV_DEBUG
        if (buf_debug_prints) {
-@@ -656,7 +656,7 @@
+@@ -823,7 +823,7 @@
        os_aio_simulated_wake_handler_threads();
  
        /* Flush pages from the end of all the LRU lists if necessary */
        if (buf_debug_prints) {
 --- a/storage/innobase/include/buf0buf.h
 +++ b/storage/innobase/include/buf0buf.h
-@@ -1426,11 +1426,11 @@
+@@ -1404,11 +1404,11 @@
  
        UT_LIST_NODE_T(buf_page_t) LRU;
                                        /*!< node of the LRU list */
This page took 0.073032 seconds and 4 git commands to generate.