Dispatch write ahead logging through our job queue. SQL logging improvements.

This commit is contained in:
JoelKatz
2013-01-28 14:32:52 -08:00
parent e48ef29f8c
commit faa344c7d0
7 changed files with 47 additions and 27 deletions

View File

@@ -15,6 +15,7 @@
// Put at the beginning of a C++ file that needs its own log partition
#define SETUP_LOG() static LogPartition logPartition(__FILE__)
#define SETUP_NLOG(x) static LogPartition logPartition(x)
// Standard conditional log
#define cLog(x) if (!logPartition.doLog(x)) do {} while (0); else Log(x, logPartition)