| 510 | } |
| 511 | |
| 512 | Reference<ITenant> DLDatabase::openTenant(TenantNameRef tenantName) { |
| 513 | if (!api->databaseOpenTenant) { |
| 514 | throw unsupported_operation(); |
| 515 | } |
| 516 | |
| 517 | FdbCApi::FDBTenant* tenant; |
| 518 | throwIfError(api->databaseOpenTenant(db, tenantName.begin(), tenantName.size(), &tenant)); |
| 519 | return makeReference<DLTenant>(api, tenant); |
| 520 | } |
| 521 | |
| 522 | Reference<ITransaction> DLDatabase::createTransaction() { |
| 523 | FdbCApi::FDBTransaction* tr; |
nothing calls this directly
no test coverage detected