~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/log.cc

  • Committer: Brian Aker
  • Date: 2008-08-03 22:27:54 UTC
  • mfrom: (236.1.66 codestyle)
  • Revision ID: brian@tangent.org-20080803222754-yhkw8plul06oqvhe
Merge from Monty.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
#include <stdarg.h>
34
34
 
35
35
#include <drizzled/plugin.h>
 
36
#include <drizzled/drizzled_error_messages.h>
36
37
 
37
38
/* max size of the log message */
38
39
#define MAX_LOG_BUFFER_SIZE 1024
4027
4028
  assert(total_ha_2pc > 1);
4028
4029
  assert(opt_name && opt_name[0]);
4029
4030
 
4030
 
  tc_log_page_size= my_getpagesize();
 
4031
  tc_log_page_size= getpagesize();
4031
4032
  assert(TC_LOG_PAGE_SIZE % tc_log_page_size == 0);
4032
4033
 
4033
4034
  fn_format(logname,opt_name,mysql_data_home,"",MY_UNPACK_FILENAME);