@ -199,8 +199,8 @@ DBOptions::DBOptions()
advise_random_on_open ( true ) ,
access_hint_on_compaction_start ( NORMAL ) ,
use_adaptive_mutex ( false ) ,
bytes_per_sync ( 0 ) ,
allow_thread_local ( true ) { }
allow_thread_local ( true ) ,
bytes_per_sync ( 0 ) { }
DBOptions : : DBOptions ( const Options & options )
: create_if_missing ( options . create_if_missing ) ,
@ -243,8 +243,8 @@ DBOptions::DBOptions(const Options& options)
advise_random_on_open ( options . advise_random_on_open ) ,
access_hint_on_compaction_start ( options . access_hint_on_compaction_start ) ,
use_adaptive_mutex ( options . use_adaptive_mutex ) ,
bytes_per_sync ( options . bytes_per_sync ) ,
allow_thread_local ( options . allow_thread_local ) { }
allow_thread_local ( options . allow_thread_local ) ,
bytes_per_sync ( options . bytes_per_sync ) { }
static const char * const access_hints [ ] = {
" NONE " , " NORMAL " , " SEQUENTIAL " , " WILLNEED "
@ -308,6 +308,8 @@ void DBOptions::Dump(Logger* log) const {
access_hints [ access_hint_on_compaction_start ] ) ;
Log ( log , " Options.use_adaptive_mutex: %d " ,
use_adaptive_mutex ) ;
Log ( log , " Options.rate_limiter: %p " ,
rate_limiter . get ( ) ) ;
Log ( log , " Options.bytes_per_sync: %lu " ,
( unsigned long ) bytes_per_sync ) ;
} // DBOptions::Dump