| 42 | } |
| 43 | |
| 44 | void appendVersionedMutation(Standalone<VectorRef<VersionedConfigMutationRef>>& versionedMutations, |
| 45 | Version version, |
| 46 | Optional<KeyRef> configClass, |
| 47 | KeyRef knobName, |
| 48 | Optional<KnobValueRef> knobValue) { |
| 49 | auto configKey = ConfigKeyRef(configClass, knobName); |
| 50 | auto mutation = ConfigMutationRef(configKey, knobValue); |
| 51 | versionedMutations.emplace_back_deep(versionedMutations.arena(), version, mutation); |
| 52 | } |
| 53 | |
| 54 | class WriteToTransactionEnvironment { |
| 55 | std::string dataDir; |
no test coverage detected