[Swift-commit] r7081 - provenancedb

lgadelha at ci.uchicago.edu lgadelha at ci.uchicago.edu
Wed Sep 18 06:48:41 CDT 2013


Author: lgadelha
Date: 2013-09-18 06:48:37 -0500 (Wed, 18 Sep 2013)
New Revision: 7081

Modified:
   provenancedb/prov-to-sql.sh
Log:
Minor fix to adjust to new log notation for thread ids


Modified: provenancedb/prov-to-sql.sh
===================================================================
--- provenancedb/prov-to-sql.sh	2013-09-18 11:46:34 UTC (rev 7080)
+++ provenancedb/prov-to-sql.sh	2013-09-18 11:48:37 UTC (rev 7081)
@@ -25,7 +25,8 @@
 while read start_time duration globalid id endstate thread site scratch; do
     # cut off the last component of the thread, so that we end up at the
     # parent thread id which should correspond with the execute-level ID
-    inv_id="$WFID$(echo $thread | sed 's/-[^-]*$//')"
+    #inv_id="$WFID$(echo $thread | sed 's/-[^-]*$//')"
+    inv_id="$WFID$(echo $thread)"
     eid=$(echo "$globalid" | sed "s/execute2\://")   
     echo  "INSERT INTO app_exec (id, app_fun_call_id, start_time, duration, final_state, site) VALUES ('$eid', '$inv_id', $start_time, $duration, '$endstate', '$site');"  >> /tmp/$RUNID.sql
 done < execute2.global.event




More information about the Swift-commit mailing list