Move MAX_VERSION to FDBTypes.h
This commit is contained in:
parent
916d361587
commit
82ae82c98f
|
@ -416,7 +416,7 @@ typedef Standalone<KeyRangeRef> KeyRange;
|
|||
typedef Standalone<KeyValueRef> KeyValue;
|
||||
typedef Standalone<struct KeySelectorRef> KeySelector;
|
||||
|
||||
enum { invalidVersion = -1, latestVersion = -2 };
|
||||
enum { invalidVersion = -1, latestVersion = -2, MAX_VERSION = std::numeric_limits<int64_t>::max() };
|
||||
|
||||
inline Key keyAfter( const KeyRef& key ) {
|
||||
if(key == LiteralStringRef("\xff\xff"))
|
||||
|
|
|
@ -38,8 +38,6 @@
|
|||
|
||||
#include "flow/actorcompiler.h" // has to be last include
|
||||
|
||||
#define MAX_VERSION (std::numeric_limits<int64_t>::max())
|
||||
|
||||
// RestoreConfig copied from FileBackupAgent.actor.cpp
|
||||
// We copy RestoreConfig instead of using (and potentially changing) it in place
|
||||
// to avoid conflict with the existing code.
|
||||
|
|
Loading…
Reference in New Issue