Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ray6080 committed Feb 20, 2025
1 parent 472ae75 commit b9e34cd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/binder/bind/bind_export_database.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ static std::vector<ExportedTableData> getExportInfo(const Catalog& catalog,
main::ClientContext* context, Binder* binder) {
auto transaction = context->getTransaction();
std::vector<ExportedTableData> exportData;
for (auto tableEntry : catalog.getTableEntries(transaction)) {
for (auto tableEntry : catalog.getTableEntries(transaction, false /*useInternal*/)) {
ExportedTableData tableData;
if (binder->bindExportTableData(tableData, *tableEntry, catalog, transaction)) {
exportData.push_back(std::move(tableData));
Expand Down
3 changes: 2 additions & 1 deletion tools/shell/embedded_shell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,8 @@ DWORD oldOutputCP;
void EmbeddedShell::updateTableNames() {
nodeTableNames.clear();
relTableNames.clear();
for (auto& tableEntry : database->catalog->getTableEntries(&transaction::DUMMY_TRANSACTION)) {
for (auto& tableEntry : database->catalog->getTableEntries(&transaction::DUMMY_TRANSACTION,
false /*useInternal*/)) {
if (tableEntry->getType() == catalog::CatalogEntryType::NODE_TABLE_ENTRY) {
nodeTableNames.push_back(tableEntry->getName());
} else if (tableEntry->getType() == catalog::CatalogEntryType::REL_TABLE_ENTRY) {
Expand Down

0 comments on commit b9e34cd

Please sign in to comment.