~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to storage/innobase/log/log0log.c

  • Committer: Monty Taylor
  • Date: 2008-10-16 20:02:16 UTC
  • mfrom: (511.1.9 codestyle)
  • Revision ID: monty@inaugust.com-20081016200216-dvp7f7xx6k5wppkl
MergedĀ fromĀ trunk.

Show diffs side-by-side

added added

removed removed

Lines of Context:
102
102
/* Extra margin, in addition to one log file, used in archiving */
103
103
#define LOG_ARCHIVE_EXTRA_MARGIN        (4 * UNIV_PAGE_SIZE)
104
104
 
 
105
#ifdef UNIV_LOG_ARCHIVE
105
106
/* This parameter controls asynchronous writing to the archive */
106
107
#define LOG_ARCHIVE_RATIO_ASYNC         16
107
108
 
 
109
/* States of an archiving operation */
 
110
#define LOG_ARCHIVE_READ        1
 
111
#define LOG_ARCHIVE_WRITE       2
 
112
 
 
113
#endif /* UNIV_LOG_ARCHIVE */
 
114
 
108
115
/* Codes used in unlocking flush latches */
109
116
#define LOG_UNLOCK_NONE_FLUSHED_LOCK    1
110
117
#define LOG_UNLOCK_FLUSH_LOCK           2
111
118
 
112
 
/* States of an archiving operation */
113
 
#define LOG_ARCHIVE_READ        1
114
 
#define LOG_ARCHIVE_WRITE       2
115
 
 
116
119
/**********************************************************
117
120
Completes a checkpoint write i/o to a log file. */
118
121
static