| 322 | } |
| 323 | |
| 324 | void Catalog::createIndex(Transaction* transaction, std::unique_ptr<CatalogEntry> indexCatalogEntry, |
| 325 | bool skipLoggingToWAL) { |
| 326 | DASSERT(indexCatalogEntry->getType() == CatalogEntryType::INDEX_ENTRY); |
| 327 | indexes->createEntry(transaction, std::move(indexCatalogEntry), skipLoggingToWAL); |
| 328 | } |
| 329 | |
| 330 | IndexCatalogEntry* Catalog::getIndex(const Transaction* transaction, table_id_t tableID, |
| 331 | const std::string& indexName) const { |
no test coverage detected