And fix a couple more issues from me doing manual things wrong.

This commit is contained in:
Alex Miller 2020-03-27 04:04:13 -07:00
parent 40d10aa990
commit 32519e92b2
2 changed files with 5 additions and 1 deletions

View File

@ -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

View File

@ -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 );