1
by brian
clean slate |
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 |