~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Monty Taylor
  • Date: 2010-12-02 22:51:54 UTC
  • mto: (1975.1.1 build)
  • mto: This revision was merged to the branch mainline in revision 1976.
  • Revision ID: mordred@inaugust.com-20101202225154-h54ifmga9x6cckgs
Refactored syslog module and changed it to use sys_var directly.

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