From 1d593c39e0ad3d7d3d6401712733e42ede8abc7d Mon Sep 17 00:00:00 2001 From: Paul Beckingham Date: Sun, 15 Jul 2012 20:42:07 -0400 Subject: [PATCH] Bug - Fixed bug that saw annotations as UDA orphans in the 'info' command. --- src/commands/CmdInfo.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/commands/CmdInfo.cpp b/src/commands/CmdInfo.cpp index 6d0725d16..23eeedea5 100644 --- a/src/commands/CmdInfo.cpp +++ b/src/commands/CmdInfo.cpp @@ -355,7 +355,8 @@ int CmdInfo::execute (std::string& output) // Show any orphaned UDAs, which are identified by not being represented in // the context.columns map. for (att = all.begin (); att != all.end (); ++att) - if (context.columns.find (*att) == context.columns.end ()) + if (att->substr (0, 11) != "annotation_" && + context.columns.find (*att) == context.columns.end ()) { row = view.addRow (); view.set (row, 0, "[" + *att);