~skinny.moey/drizzle/innodb-replication

« back to all changes in this revision

Viewing changes to plugin/innobase/include/log0recv.h

  • Committer: Brian Aker
  • Date: 2010-11-08 22:35:57 UTC
  • mfrom: (1802.1.114 trunk)
  • Revision ID: brian@tangent.org-20101108223557-w3xzwp9hjjtjhtc1
MergeĀ inĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12
12
 
13
13
You should have received a copy of the GNU General Public License along with
14
 
this program; if not, write to the Free Software Foundation, Inc., 59 Temple
15
 
Place, Suite 330, Boston, MA 02111-1307 USA
 
14
this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
 
15
St, Fifth Floor, Boston, MA 02110-1301 USA
16
16
 
17
17
*****************************************************************************/
18
18
 
239
239
void
240
240
recv_sys_create(void);
241
241
/*=================*/
 
242
/**********************************************************//**
 
243
Release recovery system mutexes. */
 
244
UNIV_INTERN
 
245
void
 
246
recv_sys_close(void);
 
247
/*================*/
 
248
/********************************************************//**
 
249
Frees the recovery system memory. */
 
250
UNIV_INTERN
 
251
void
 
252
recv_sys_mem_free(void);
 
253
/*===================*/
242
254
/********************************************************//**
243
255
Inits the recovery system for a recovery operation. */
244
256
UNIV_INTERN
246
258
recv_sys_init(
247
259
/*==========*/
248
260
        ulint   available_memory);      /*!< in: available memory in bytes */
 
261
/********************************************************//**
 
262
Reset the state of the recovery system variables. */
 
263
UNIV_INTERN
 
264
void
 
265
recv_sys_var_init(void);
 
266
/*===================*/
249
267
/*******************************************************************//**
250
268
Empties the hash table of stored log records, applying them to appropriate
251
269
pages. */
433
451
extern ibool            recv_no_ibuf_operations;
434
452
/** TRUE when recv_init_crash_recovery() has been called. */
435
453
extern ibool            recv_needed_recovery;
 
454
#ifdef UNIV_DEBUG
 
455
/** TRUE if writing to the redo log (mtr_commit) is forbidden.
 
456
Protected by log_sys->mutex. */
 
457
extern ibool            recv_no_log_write;
 
458
#endif /* UNIV_DEBUG */
436
459
 
437
460
/** TRUE if buf_page_is_corrupted() should check if the log sequence
438
461
number (FIL_PAGE_LSN) is in the future.  Initially FALSE, and set by