From 0420b3e786484026e3d92ebb132cd878ad7c7aa0 Mon Sep 17 00:00:00 2001 From: Evan Tschannen Date: Wed, 29 Apr 2020 14:05:53 -0700 Subject: [PATCH] fix compile error --- fdbclient/DatabaseBackupAgent.actor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fdbclient/DatabaseBackupAgent.actor.cpp b/fdbclient/DatabaseBackupAgent.actor.cpp index 72c8529b79..1da07379e7 100644 --- a/fdbclient/DatabaseBackupAgent.actor.cpp +++ b/fdbclient/DatabaseBackupAgent.actor.cpp @@ -1491,7 +1491,7 @@ namespace dbBackup { beginVersionKey = BinaryWriter::toValue(bVersion, Unversioned()); state Key versionKey = logUidValue.withPrefix(destUidValue).withPrefix(backupLatestVersionsPrefix); - Optional versionRecord = wait( scrTr->get(versionKey) ); + Optional versionRecord = wait( srcTr->get(versionKey) ); if(!versionRecord.present()) { srcTr->set(versionKey, beginVersionKey); }