~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to sql/log.h

  • Committer: Monty Taylor
  • Date: 2008-07-05 23:05:08 UTC
  • mto: This revision was merged to the branch mainline in revision 77.
  • Revision ID: monty@inaugust.com-20080705230508-9txkg702oln6hxjl
First large swath at getting handler stuff clean.

Show diffs side-by-side

added added

removed removed

Lines of Context:
41
41
{
42
42
public:
43
43
  TC_LOG_DUMMY() {}
44
 
  int open(const char *opt_name)        { return 0; }
45
 
  void close()                          { }
46
 
  int log_xid(THD *thd, my_xid xid)         { return 1; }
47
 
  void unlog(ulong cookie, my_xid xid)  { }
 
44
  int open(const char *opt_name __attribute__((__unused__)))
 
45
  { return 0; }
 
46
  void close(void)                          { }
 
47
  int log_xid(THD *thd __attribute__((__unused__)),
 
48
              my_xid xid __attribute__((__unused__)))         { return 1; }
 
49
  void unlog(ulong cookie __attribute__((__unused__)),
 
50
             my_xid xid __attribute__((__unused__)))  { }
48
51
};
49
52
 
50
53
#ifdef HAVE_MMAP