And fix a couple more issues from me doing manual things wrong.
This commit is contained in:
parent
40d10aa990
commit
32519e92b2
|
@ -90,7 +90,11 @@ TraceEvent debugMutation( const char* context, Version version, MutationRef cons
|
|||
TraceEvent debugKeyRange( const char* context, Version version, KeyRangeRef const& keys ) {
|
||||
return debugKeyRangeEnabled( context, version, keys );
|
||||
}
|
||||
TraceEvent debugMessagesAndTags( const char* context, Version version, StringRef commitBlob ) {
|
||||
return debugMessagesAndTagsEnabled( context, version, commitBlob );
|
||||
}
|
||||
#else
|
||||
TraceEvent debugMutation( const char* context, Version version, MutationRef const& mutation ) { return std::move(TraceEvent()); }
|
||||
TraceEvent debugKeyRange( const char* context, Version version, KeyRangeRef const& keys ) { return std::move(TraceEvent()); }
|
||||
TraceEvent debugMessagesAndTags( const char* context, Version version, StringRef commitBlob ) { return std::move(TraceEvent()); }
|
||||
#endif
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#include "fdbclient/FDBTypes.h"
|
||||
#include "fdbclient/CommitTransaction.h"
|
||||
|
||||
#define MUTATION_TRACKING_ENABLED 1
|
||||
#define MUTATION_TRACKING_ENABLED 0
|
||||
|
||||
TraceEvent debugMutation( const char* context, Version version, MutationRef const& mutation );
|
||||
TraceEvent debugKeyRange( const char* context, Version version, KeyRangeRef const& keys );
|
||||
|
|
Loading…
Reference in New Issue