| 429 | } |
| 430 | |
| 431 | void DLTransaction::setOption(FDBTransactionOptions::Option option, Optional<StringRef> value) { |
| 432 | throwIfError(api->transactionSetOption(tr, |
| 433 | static_cast<FDBTransactionOption>(option), |
| 434 | value.present() ? value.get().begin() : nullptr, |
| 435 | value.present() ? value.get().size() : 0)); |
| 436 | } |
| 437 | |
| 438 | ThreadFuture<Void> DLTransaction::onError(Error const& e) { |
| 439 | FdbCApi::FDBFuture* f = api->transactionOnError(tr, e.code()); |
nothing calls this directly
no test coverage detected