| 546 | } |
| 547 | |
| 548 | CatalogEntry* Catalog::createTableEntry(Transaction* transaction, |
| 549 | const BoundCreateTableInfo& info) { |
| 550 | switch (info.type) { |
| 551 | case CatalogEntryType::NODE_TABLE_ENTRY: { |
| 552 | return createNodeTableEntry(transaction, info); |
| 553 | } |
| 554 | case CatalogEntryType::REL_GROUP_ENTRY: { |
| 555 | return createRelGroupEntry(transaction, info); |
| 556 | } |
| 557 | default: |
| 558 | UNREACHABLE_CODE; |
| 559 | } |
| 560 | } |
| 561 | |
| 562 | CatalogEntry* Catalog::createNodeTableEntry(Transaction* transaction, |
| 563 | const BoundCreateTableInfo& info) { |
no outgoing calls
no test coverage detected