mirror of
https://github.com/apple/foundationdb.git
synced 2025-05-31 18:19:35 +08:00
Minor cleanup
This commit is contained in:
parent
35baf4d745
commit
fd993df807
@ -274,11 +274,8 @@ bool verifyPrefix(ProxyCommitData* const commitData, const CommitTransactionRequ
|
||||
return true;
|
||||
}
|
||||
|
||||
auto te = tenantEntry.get();
|
||||
if (te.present()) {
|
||||
Key tenantPrefix = te.get().prefix;
|
||||
|
||||
// auto& tenantPrefix = tenantEntry.get().get().prefix;
|
||||
if (tenantEntry.get().present()) {
|
||||
Key tenantPrefix = tenantEntry.get().get().prefix;
|
||||
for (auto& m : req.transaction.mutations) {
|
||||
if (m.param1 != metadataVersionKey) {
|
||||
if (!m.param1.startsWith(tenantPrefix)) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user