Index: trunk/ippTools/share/pubtool_definerun.sql
===================================================================
--- trunk/ippTools/share/pubtool_definerun.sql	(revision 27027)
+++ trunk/ippTools/share/pubtool_definerun.sql	(revision 27028)
@@ -15,4 +15,5 @@
         AND publishClient.active = 1
         AND diffRun.state = 'full'
+        AND (diffRun.magicked > 0 OR publishClient.magicked = 0)
     -- WHERE hook %s
     UNION
@@ -27,4 +28,5 @@
         AND publishClient.active = 1
         AND camRun.state = 'full'
+        AND (camRun.magicked > 0 OR publishClient.magicked = 0)
     -- WHERE hook %s
     ) AS publishToDo
Index: trunk/ippTools/share/pxadmin_create_tables.sql
===================================================================
--- trunk/ippTools/share/pxadmin_create_tables.sql	(revision 27027)
+++ trunk/ippTools/share/pxadmin_create_tables.sql	(revision 27028)
@@ -1494,4 +1494,5 @@
     product VARCHAR(64),             -- product name
     stage VARCHAR(64) NOT NULL, -- stage of interest (chip, camera, diff, etc.)
+    magicked TINYINT DEFAULT 1, -- Require magicked data?
     workdir VARCHAR(255) NOT NULL, -- working directory
     comment VARCHAR(255),            -- for human memory
