Commit 6bfb7722 authored by Rich Prohaska's avatar Rich Prohaska Committed by Yoni Fogel

turn on the cachetable writer threads. use fast asserts. addresses #1195

git-svn-id: file:///svn/toku/tokudb.1195@7640 c7de825b-a66e-492c-adef-691d508d4ae1
parent 55684669
...@@ -4,7 +4,7 @@ ...@@ -4,7 +4,7 @@
#include "includes.h" #include "includes.h"
// execute the cachetable callbacks using a writer thread 0->no 1->yes // execute the cachetable callbacks using a writer thread 0->no 1->yes
#define DO_WRITER_THREAD 0 #define DO_WRITER_THREAD 1
#if DO_WRITER_THREAD #if DO_WRITER_THREAD
static void *cachetable_writer(void *); static void *cachetable_writer(void *);
#endif #endif
......
...@@ -13,7 +13,7 @@ void toku_do_assert(int,const char*/*expr_as_string*/,const char */*fun*/,const ...@@ -13,7 +13,7 @@ void toku_do_assert(int,const char*/*expr_as_string*/,const char */*fun*/,const
// Define GCOV if you want to get test-coverage information that ignores the assert statements. // Define GCOV if you want to get test-coverage information that ignores the assert statements.
#define GCOV #define GCOV
#ifdef GCOV #ifdef GCOV
#define SLOW_ASSERT #undef SLOW_ASSERT
#define WHEN_GCOV(x) #define WHEN_GCOV(x)
#define WHEN_NOT_GCOV(x) x #define WHEN_NOT_GCOV(x) x
#else #else
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment