MCPcopy Create free account
hub / github.com/LadybugDB/ladybug / createIndex

Method createIndex

src/catalog/catalog.cpp:324–328  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

322}
323
324void 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
330IndexCatalogEntry* Catalog::getIndex(const Transaction* transaction, table_id_t tableID,
331 const std::string& indexName) const {

Callers 3

executeInternalMethod · 0.80

Calls 2

createEntryMethod · 0.80
getTypeMethod · 0.45

Tested by

no test coverage detected