Skip to content

Commit

Permalink
Exclude attributes starting with tag_ (#3619)
Browse files Browse the repository at this point in the history
* Exclude attributes starting with tag_

* Check only for tag_*
  • Loading branch information
gagankonana authored Sep 9, 2024
1 parent 72f9cd9 commit 6a24510
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/CmdInfo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,7 @@ int CmdInfo::execute(std::string& output) {
// Show any orphaned UDAs, which are identified by not being represented in
// the context.columns map.
for (auto& att : all) {
if (att.substr(0, 11) != "annotation_" && att.substr(0, 5) != "tags_" &&
if (att.substr(0, 11) != "annotation_" && att.substr(0, 4) != "tag_" &&
att.substr(0, 4) != "dep_" &&
Context::getContext().columns.find(att) == Context::getContext().columns.end()) {
row = view.addRow();
Expand Down

0 comments on commit 6a24510

Please sign in to comment.