Index: /trunk/ippTools/share/disttool_pendingcomponent.sql
===================================================================
--- /trunk/ippTools/share/disttool_pendingcomponent.sql	(revision 23699)
+++ /trunk/ippTools/share/disttool_pendingcomponent.sql	(revision 23700)
@@ -13,4 +13,5 @@
     NULL as state,
     NULL as data_state,
+    distRun.no_magic,
     rawImfile.magicked
 FROM distRun
@@ -59,4 +60,5 @@
     chipRun.state,
     chipProcessedImfile.data_state,
+    distRun.no_magic,
     chipProcessedImfile.magicked
 FROM distRun
@@ -87,5 +89,6 @@
     camRun.state,
     NULL,
-    0
+    distRun.no_magic,
+    chipProcessedImfile.magicked
 FROM distRun
 JOIN camRun ON camRun.cam_id = distRun.stage_id
@@ -117,4 +120,5 @@
     fakeRun.state,
     NULL,
+    distRun.no_magic,
     0
 FROM distRun
@@ -146,4 +150,5 @@
     warpRun.state,
     warpSkyfile.data_state,
+    distRun.no_magic,
     warpSkyfile.magicked
 FROM distRun
@@ -179,4 +184,5 @@
     -- diffSkyfile.data_state,
     'full' AS data_state,
+    distRun.no_magic,
     diffSkyfile.magicked
 FROM distRun
@@ -209,4 +215,5 @@
     -- stackSumSkyfile.data_state,
     'full' AS data_state,
+    1 AS no_magic,
     0 AS magicked
 FROM distRun
