summaryrefslogtreecommitdiff
path: root/innobase/include/log0recv.ic
blob: 489641bade24da8bada2b72395d6e476c554fa68 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
/******************************************************
Recovery

(c) 1997 Innobase Oy

Created 9/20/1997 Heikki Tuuri
*******************************************************/

#include "sync0sync.h"
#include "mem0mem.h"
#include "log0log.h"
#include "os0file.h"

extern ibool	recv_recovery_from_backup_on;

/***********************************************************************
Returns TRUE if recovery is currently running. */
UNIV_INLINE
ibool
recv_recovery_is_on(void)
/*=====================*/
{
	return(recv_recovery_on);
}

/***********************************************************************
Returns TRUE if recovery from backup is currently running. */
UNIV_INLINE
ibool
recv_recovery_from_backup_is_on(void)
/*=================================*/
{
	return(recv_recovery_from_backup_on);
}