~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/page/page0zip.c

  • Committer: Brian Aker
  • Date: 2010-12-16 20:27:14 UTC
  • mto: (2002.1.4 clean) (2015.1.1 clean)
  • mto: This revision was merged to the branch mainline in revision 2003.
  • Revision ID: brian@tangent.org-20101216202714-fmzbmyoetoi8pr6j
First pass through, removing the need for us track the position in this
manner.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1464
1464
                dict_table_t*   table = index->table;
1465
1465
                mem_heap_free(index->heap);
1466
1466
                mutex_free(&(table->autoinc_mutex));
 
1467
                ut_free(table->name);
1467
1468
                mem_heap_free(table->heap);
1468
1469
        }
1469
1470
}
4467
4468
                /* Copy max trx id to recreated page */
4468
4469
                trx_id_t        max_trx_id = page_get_max_trx_id(temp_page);
4469
4470
                page_set_max_trx_id(block, NULL, max_trx_id, NULL);
4470
 
                ut_ad(!ut_dulint_is_zero(max_trx_id));
 
4471
                ut_ad(max_trx_id != 0);
4471
4472
        }
4472
4473
 
4473
4474
        /* Restore logging. */
4527
4528
        /* The PAGE_MAX_TRX_ID must be set on leaf pages of secondary
4528
4529
        indexes.  It does not matter on other pages. */
4529
4530
        ut_a(dict_index_is_clust(index) || !page_is_leaf(src)
4530
 
             || !ut_dulint_is_zero(page_get_max_trx_id(src)));
 
4531
             || page_get_max_trx_id(src));
4531
4532
 
4532
4533
        UNIV_MEM_ASSERT_W(page, UNIV_PAGE_SIZE);
4533
4534
        UNIV_MEM_ASSERT_W(page_zip->data, page_zip_get_size(page_zip));