[Swift-commit] r5242 - provenancedb

lgadelha at ci.uchicago.edu lgadelha at ci.uchicago.edu
Tue Oct 18 13:37:00 CDT 2011


Author: lgadelha
Date: 2011-10-18 13:37:00 -0500 (Tue, 18 Oct 2011)
New Revision: 5242

Modified:
   provenancedb/ProvSQL.g
Log:
Minor changes.


Modified: provenancedb/ProvSQL.g
===================================================================
--- provenancedb/ProvSQL.g	2011-10-18 13:07:33 UTC (rev 5241)
+++ provenancedb/ProvSQL.g	2011-10-18 18:37:00 UTC (rev 5242)
@@ -41,6 +41,7 @@
 		schemaGraph.addVertex("a_ds_t");
 		schemaGraph.addVertex("a_ds_n");
 		schemaGraph.addVertex("ds_cont");
+		schemaGraph.addVertex("compare_run");
 		schemaGraph.addEdge("a_run_t", "run");
 		schemaGraph.addEdge("a_run_n", "run");
 		schemaGraph.addEdge("run","proc");
@@ -59,6 +60,7 @@
 		schemaGraph.addEdge("ds", "in_mem");
 		schemaGraph.addEdge("ds", "ds_cont");
 		schemaGraph.addEdge("ds", "ds_cont");
+		schemaGraph.addEdge("compare_run", "run");
 
 		return schemaGraph;
 	}
@@ -150,6 +152,7 @@
 		joinExpressions.put(schemaGraph.getEdge("ds", "in_mem"), "ds.id=in_mem.id");
 		joinExpressions.put(schemaGraph.getEdge("ds", "ds_cont"), "ds.id=ds_cont.in_id");
 		joinExpressions.put(schemaGraph.getEdge("ds", "ds_cont"), "ds.id=ds_cont.out_id");
+		joinExpressions.put(schemaGraph.getEdge("compare_run", "ds_cont"), "ds.id=ds_cont.out_id");
 
 		Iterator<DefaultEdge> i = jEdges.iterator();
 		if(i.hasNext()) {




More information about the Swift-commit mailing list