| 644 | } |
| 645 | |
| 646 | static std::vector<TableCatalogEntry*> sortEntries(const table_catalog_entry_set_t& set) { |
| 647 | std::vector<TableCatalogEntry*> entries; |
| 648 | for (auto entry : set) { |
| 649 | entries.push_back(entry); |
| 650 | } |
| 651 | std::sort(entries.begin(), entries.end(), |
| 652 | [](const TableCatalogEntry* a, const TableCatalogEntry* b) { |
| 653 | return a->getTableID() < b->getTableID(); |
| 654 | }); |
| 655 | return entries; |
| 656 | } |
| 657 | |
| 658 | std::pair<std::vector<TableCatalogEntry*>, std::unordered_map<TableCatalogEntry*, std::string>> |
| 659 | Binder::bindNodeTableEntries(const std::vector<std::string>& tableNames) const { |
no test coverage detected