~linuxjedi/drizzle/trunk-bug-667053

« back to all changes in this revision

Viewing changes to storage/innobase/include/log0recv.ic

  • Committer: brian
  • Date: 2008-06-25 05:29:13 UTC
  • Revision ID: brian@localhost.localdomain-20080625052913-6upwo0jsrl4lnapl
clean slate

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/******************************************************
 
2
Recovery
 
3
 
 
4
(c) 1997 Innobase Oy
 
5
 
 
6
Created 9/20/1997 Heikki Tuuri
 
7
*******************************************************/
 
8
 
 
9
#include "sync0sync.h"
 
10
#include "mem0mem.h"
 
11
#include "log0log.h"
 
12
#include "os0file.h"
 
13
 
 
14
extern ibool    recv_recovery_from_backup_on;
 
15
 
 
16
/***********************************************************************
 
17
Returns TRUE if recovery is currently running. */
 
18
UNIV_INLINE
 
19
ibool
 
20
recv_recovery_is_on(void)
 
21
/*=====================*/
 
22
{
 
23
        return(recv_recovery_on);
 
24
}
 
25
 
 
26
/***********************************************************************
 
27
Returns TRUE if recovery from backup is currently running. */
 
28
UNIV_INLINE
 
29
ibool
 
30
recv_recovery_from_backup_is_on(void)
 
31
/*=================================*/
 
32
{
 
33
        return(recv_recovery_from_backup_on);
 
34
}
 
35