Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
78c70c07
Commit
78c70c07
authored
Mar 23, 2009
by
marko
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
branches/zip: Enclose recv_recovery_from_backup_on and
recv_recovery_from_backup_is_on() in #ifdef UNIV_LOG_ARCHIVE.
parent
b1cbc35e
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
8 additions
and
3 deletions
+8
-3
include/log0recv.h
include/log0recv.h
+2
-0
include/log0recv.ic
include/log0recv.ic
+4
-3
log/log0recv.c
log/log0recv.c
+2
-0
No files found.
include/log0recv.h
View file @
78c70c07
...
...
@@ -77,12 +77,14 @@ UNIV_INLINE
ibool
recv_recovery_is_on
(
void
);
/*=====================*/
#ifdef UNIV_LOG_ARCHIVE
/***********************************************************************
Returns TRUE if recovery from backup is currently running. */
UNIV_INLINE
ibool
recv_recovery_from_backup_is_on
(
void
);
/*=================================*/
#endif
/* UNIV_LOG_ARCHIVE */
/****************************************************************************
Applies the hashed log records to the page, if the page lsn is less than the
lsn of a log record. This can be called when a buffer page has just been
...
...
include/log0recv.ic
View file @
78c70c07
...
...
@@ -24,8 +24,6 @@ Created 9/20/1997 Heikki Tuuri
#include "univ.i"
extern ibool recv_recovery_from_backup_on;
/***********************************************************************
Returns TRUE if recovery is currently running. */
UNIV_INLINE
...
...
@@ -36,6 +34,9 @@ recv_recovery_is_on(void)
return(UNIV_UNLIKELY(recv_recovery_on));
}
#ifdef UNIV_LOG_ARCHIVE
extern ibool recv_recovery_from_backup_on;
/***********************************************************************
Returns TRUE if recovery from backup is currently running. */
UNIV_INLINE
...
...
@@ -45,4 +46,4 @@ recv_recovery_from_backup_is_on(void)
{
return(recv_recovery_from_backup_on);
}
#endif /* UNIV_LOG_ARCHIVE */
log/log0recv.c
View file @
78c70c07
...
...
@@ -60,7 +60,9 @@ this must be less than UNIV_PAGE_SIZE as it is stored in the buffer pool */
UNIV_INTERN
recv_sys_t
*
recv_sys
=
NULL
;
UNIV_INTERN
ibool
recv_recovery_on
=
FALSE
;
#ifdef UNIV_LOG_ARCHIVE
UNIV_INTERN
ibool
recv_recovery_from_backup_on
=
FALSE
;
#endif
/* UNIV_LOG_ARCHIVE */
UNIV_INTERN
ibool
recv_needed_recovery
=
FALSE
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment