~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to sql/log.h

Merging trunk changes from over weekend.

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