~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/log.h

  • Committer: Brian Aker
  • Date: 2008-12-04 06:48:00 UTC
  • Revision ID: brian@tangent.org-20081204064800-pyrclwj0583fms2s
Clean up warnings for Solaris.

Show diffs side-by-side

added added

removed removed

Lines of Context:
50
50
{
51
51
public:
52
52
  TC_LOG_DUMMY() {}
53
 
  int open(const char *opt_name __attribute__((unused)))
 
53
  int open(const char *)
54
54
  { return 0; }
55
55
  void close(void)                          { }
56
 
  int log_xid(Session *session __attribute__((unused)),
57
 
              my_xid xid __attribute__((unused)))         { return 1; }
58
 
  void unlog(ulong cookie __attribute__((unused)),
59
 
             my_xid xid __attribute__((unused)))  { }
 
56
  int log_xid(Session *, my_xid)         { return 1; }
 
57
  void unlog(ulong, my_xid)  { }
60
58
};
61
59
 
62
60
#ifdef HAVE_MMAP