Commit c9f37c74 by maarten

orphan handling, UNL in prepper

git-svn-id: svn+ssh://gitlab/srv/svn-repos/pdb-redo/trunk@443 a1961a4f-ab94-4bcc-80e8-33b5a54de466
parent ffd82dfe
...@@ -1612,8 +1612,14 @@ bool Category::isOrphan(Row r) ...@@ -1612,8 +1612,14 @@ bool Category::isOrphan(Row r)
cond = move(cond) && (Key(link->mParentKeys[ix]) == value); cond = move(cond) && (Key(link->mParentKeys[ix]) == value);
} }
if (VERBOSE > 2)
cerr << "Check condition '" << cond << "' in parent category " << link->mParentCategory << " for child cat " << mName << endl;
if (parentCat->exists(std::move(cond))) if (parentCat->exists(std::move(cond)))
{ {
if (VERBOSE > 2)
cerr << "Not removing because row has a parent in category " << link->mParentCategory << endl;
isOrphan = false; isOrphan = false;
break; break;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment