@ -24,6 +24,12 @@
# include "rocksdb/listener.h"
# include "rocksdb/listener.h"
# include "rocksdb/thread_status.h"
# include "rocksdb/thread_status.h"
# ifdef _WIN32
// Windows API macro interference
# undef DeleteFile
# endif
namespace rocksdb {
namespace rocksdb {
struct Options ;
struct Options ;
@ -431,7 +437,12 @@ class DB {
return CompactRange ( options , DefaultColumnFamily ( ) , begin , end ) ;
return CompactRange ( options , DefaultColumnFamily ( ) , begin , end ) ;
}
}
__attribute__ ( ( deprecated ) ) virtual Status
# if defined(__GNUC__) || defined(__clang__)
__attribute__ ( ( deprecated ) )
# elif _WIN32
__declspec ( deprecated )
# endif
virtual Status
CompactRange ( ColumnFamilyHandle * column_family , const Slice * begin ,
CompactRange ( ColumnFamilyHandle * column_family , const Slice * begin ,
const Slice * end , bool change_level = false ,
const Slice * end , bool change_level = false ,
int target_level = - 1 , uint32_t target_path_id = 0 ) {
int target_level = - 1 , uint32_t target_path_id = 0 ) {
@ -441,7 +452,12 @@ class DB {
options . target_path_id = target_path_id ;
options . target_path_id = target_path_id ;
return CompactRange ( options , column_family , begin , end ) ;
return CompactRange ( options , column_family , begin , end ) ;
}
}
__attribute__ ( ( deprecated ) ) virtual Status
# if defined(__GNUC__) || defined(__clang__)
__attribute__ ( ( deprecated ) )
# elif _WIN32
__declspec ( deprecated )
# endif
virtual Status
CompactRange ( const Slice * begin , const Slice * end ,
CompactRange ( const Slice * begin , const Slice * end ,
bool change_level = false , int target_level = - 1 ,
bool change_level = false , int target_level = - 1 ,
uint32_t target_path_id = 0 ) {
uint32_t target_path_id = 0 ) {