Comment 1 for bug 1366065

Revision history for this message
Davi Arnaut (davi) wrote :

--- a/storage/innobase/buf/buf0rea.cc
+++ b/storage/innobase/buf/buf0rea.cc
@@ -810,11 +810,9 @@ buf_read_ibuf_merge_pages(
                if (UNIV_UNLIKELY(err == DB_TABLESPACE_DELETED)) {
 tablespace_deleted:
                        /* We have deleted or are deleting the single-table
- tablespace: remove the entries for that page */
+ tablespace: remove all entries for the tablespace */

- ibuf_merge_or_delete_for_page(NULL, space_ids[i],
- page_nos[i],
- zip_size, FALSE);
+ ibuf_delete_for_discarded_space(space_ids[i]);
                }
        }