~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/rpl_rli.cc

  • Committer: Brian Aker
  • Date: 2008-10-30 05:49:59 UTC
  • mfrom: (520.4.29 devel)
  • Revision ID: brian@tangent.org-20081030054959-7tlt3rxzbtl1lyin
Merge Monty's work.

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA */
15
15
 
16
16
#include <drizzled/server_includes.h>
 
17
#include <drizzled/rpl_mi.h>
 
18
#include <drizzled/rpl_rli.h>
 
19
// For check_binlog_magic
 
20
#include <drizzled/sql_repl.h>
 
21
#include <drizzled/rpl_utility.h>
 
22
#include <drizzled/data_home.h>
 
23
#include <drizzled/gettext.h>
17
24
 
18
25
#if TIME_WITH_SYS_TIME
19
26
# include <sys/time.h>
27
34
#endif
28
35
 
29
36
 
30
 
#include "rpl_mi.h"
31
 
#include "rpl_rli.h"
32
 
#include "sql_repl.h"  // For check_binlog_magic
33
 
#include "rpl_utility.h"
34
 
 
35
 
#include <drizzled/gettext.h>
36
37
 
37
38
static int32_t count_relay_log_space(Relay_log_info* rli);
38
39
 
90
91
 
91
92
 
92
93
int32_t init_relay_log_info(Relay_log_info* rli,
93
 
                        const char* info_fname)
 
94
                            const char* info_fname)
94
95
{
95
96
  char fname[FN_REFLEN+128];
96
97
  int32_t info_fd;