removed debugging output garbage

This commit is contained in:
hns 2001-08-03 21:03:06 +00:00
parent 2e7f98b954
commit 6cd1f87d4f

View file

@ -170,7 +170,6 @@ public final class NodeManager {
// The requested node isn't in the shared cache. Synchronize with key to make sure only one // The requested node isn't in the shared cache. Synchronize with key to make sure only one
// version is fetched from the database. // version is fetched from the database.
if (key instanceof SyntheticKey) { if (key instanceof SyntheticKey) {
System.err.println ("SPLITTING SYNTHETIC KEY: "+key);
Node parent = getNode (key.getParentKey ()); Node parent = getNode (key.getParentKey ());
Relation rel = parent.dbmap.getPropertyRelation (key.getID()); Relation rel = parent.dbmap.getPropertyRelation (key.getID());
if (rel == null || rel.groupby != null) if (rel == null || rel.groupby != null)
@ -241,8 +240,6 @@ public final class NodeManager {
if (node.created() < rel.other.getLastDataChange ()) if (node.created() < rel.other.getLastDataChange ())
node = null; // cached null not valid anymore node = null; // cached null not valid anymore
} else if (app.doesSubnodeChecking () && home.contains (node) < 0) { } else if (app.doesSubnodeChecking () && home.contains (node) < 0) {
System.err.println ("NULLING SUBNODE: "+key);
System.err.println ("REL = "+rel);
node = null; node = null;
} }
} }
@ -251,7 +248,6 @@ public final class NodeManager {
// The requested node isn't in the shared cache. Synchronize with key to make sure only one // The requested node isn't in the shared cache. Synchronize with key to make sure only one
// version is fetched from the database. // version is fetched from the database.
if (key instanceof SyntheticKey && node == null) System.err.println ("GETTING BY REL: "+key+" > "+node);
node = getNodeByRelation (tx.txn, home, kstr, rel); node = getNodeByRelation (tx.txn, home, kstr, rel);
if (node != null) { if (node != null) {
@ -636,7 +632,6 @@ if (key instanceof SyntheticKey && node == null) System.err.println ("GETTING BY
Key key = rel.groupby == null ? Key key = rel.groupby == null ?
(Key) new DbKey (rel.other, kstr) : (Key) new DbKey (rel.other, kstr) :
(Key) new SyntheticKey (k, kstr); (Key) new SyntheticKey (k, kstr);
System.err.println ("CREATED KEY: "+key);
retval.add (new NodeHandle (key)); retval.add (new NodeHandle (key));
// if these are groupby nodes, evict nullNode keys // if these are groupby nodes, evict nullNode keys
if (rel.groupby != null && cache.get (key) instanceof NullNode) if (rel.groupby != null && cache.get (key) instanceof NullNode)
@ -872,7 +867,6 @@ if (key instanceof SyntheticKey && node == null) System.err.println ("GETTING BY
} }
private Node getNodeByRelation (DbTxn txn, Node home, String kstr, Relation rel) throws Exception { private Node getNodeByRelation (DbTxn txn, Node home, String kstr, Relation rel) throws Exception {
Node node = null; Node node = null;
if (rel.virtual) { if (rel.virtual) {