~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to drizzled/log.h

  • Committer: Elan Ruusamäe
  • Date: 2008-12-04 19:38:26 UTC
  • mfrom: (644 drizzle)
  • mto: (641.3.10 devel)
  • mto: This revision was merged to the branch mainline in revision 649.
  • Revision ID: glen@haarber.alkohol.ee-20081204193826-xxyhd45ag121pf3z
- pull from trunk

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