~fallenpegasus/drizzle/logcsv

« back to all changes in this revision

Viewing changes to plugin/syslog/wrap.cc

  • Committer: lbieber at stabletransit
  • Date: 2010-10-13 16:20:08 UTC
  • mfrom: (1843.1.3 build)
  • Revision ID: lbieber@drizzle-build-n02.wc1.dfw1.stabletransit.com-20101013162008-qi2e6k5yvfm16964
Merge Stewart - update innobase plugin to be based on innodb_plugin 1.0.6
Merge Monty - more valgrind cleanup
Merge Monty - Moved libdrizzle api listings from doxygen to sphinx

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
WrapSyslog::~WrapSyslog ()
39
39
{
40
40
  ::closelog();
41
 
  delete &(WrapSyslog::singleton());
42
41
}
43
42
 
44
43
WrapSyslog& WrapSyslog::singleton()
45
44
{
46
 
  static WrapSyslog *handle = new WrapSyslog();
47
 
  return *handle;
 
45
  static WrapSyslog handle;
 
46
  return handle;
48
47
}
49
48
 
50
49
/* TODO, for the sake of performance, scan through all the priority