~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/innobase/log/log0recv.cc

  • Committer: Lee Bieber
  • Date: 2011-03-31 14:40:56 UTC
  • mfrom: (2242.1.133 drizzle-xtrabackup)
  • Revision ID: kalebral@gmail.com-20110331144056-hdhp6cj0zo1keuc9
Merge Stewart - xtrabackup port to drizzle

Show diffs side-by-side

added added

removed removed

Lines of Context:
42
42
#include "trx0undo.h"
43
43
#include "trx0rec.h"
44
44
#include "fil0fil.h"
 
45
#include "xtrabackup_api.h"
45
46
#ifndef UNIV_HOTBACKUP
46
47
# include "buf0rea.h"
47
48
# include "srv0srv.h"
623
624
/***********************************************************************//**
624
625
Checks the consistency of the checkpoint info
625
626
@return TRUE if ok */
626
 
static
627
627
ibool
628
628
recv_check_cp_is_consistent(
629
629
/*========================*/
653
653
/********************************************************//**
654
654
Looks for the maximum consistent checkpoint from the log groups.
655
655
@return error code or DB_SUCCESS */
656
 
static
657
656
ulint
658
657
recv_find_max_checkpoint(
659
658
/*=====================*/
822
821
InnoDB-3.23.52 where the checksum field contains the log block number.
823
822
@return TRUE if ok, or if the log block may be in the format of InnoDB
824
823
version predating 3.23.52 */
825
 
static
826
824
ibool
827
825
log_block_checksum_is_ok_or_old_format(
828
826
/*===================================*/
3260
3258
        that the data dictionary tables will be free of any locks.
3261
3259
        The data dictionary latch should guarantee that there is at
3262
3260
        most one data dictionary transaction active at a time. */
 
3261
        if (! srv_apply_log_only)
3263
3262
        trx_rollback_or_clean_recovered(FALSE);
3264
3263
}
3265
3264