Index: trunk/ippTools/src/warptool.c
===================================================================
--- trunk/ippTools/src/warptool.c	(revision 16734)
+++ trunk/ippTools/src/warptool.c	(revision 16828)
@@ -193,5 +193,5 @@
 
     if (config->where) {
-        psString whereClause = psDBGenerateWhereConditionSQL(config->where, "warpInputExp");
+        psString whereClause = psDBGenerateWhereConditionSQL(config->where, "warpRun");
         psStringAppend(&query, " AND %s", whereClause);
         psFree(whereClause);
@@ -240,5 +240,5 @@
 
         // negative simple so the default is true
-        if (!ippdbPrintMetadatas(stdout, output, "warpInputExp", !simple)) {
+        if (!ippdbPrintMetadatas(stdout, output, "warpRun", !simple)) {
             psError(PS_ERR_UNKNOWN, false, "failed to print array");
             psFree(output);
@@ -268,5 +268,5 @@
 
     if (config->where) {
-        psString whereClause = psDBGenerateWhereConditionSQL(config->where, "warpInputExp");
+        psString whereClause = psDBGenerateWhereConditionSQL(config->where, "warpRun");
         psStringAppend(&query, " AND %s", whereClause);
         psFree(whereClause);
@@ -343,5 +343,5 @@
 
     if (config->where) {
-        psString whereClause = psDBGenerateWhereConditionSQL(config->where, "warpInputExp");
+        psString whereClause = psDBGenerateWhereConditionSQL(config->where, "warpRun");
         psStringAppend(&query, " AND %s", whereClause);
         psFree(whereClause);
@@ -390,5 +390,5 @@
 
         // negative simple so the default is true
-        if (!ippdbPrintMetadatas(stdout, output, "warpInputExp", !simple)) {
+        if (!ippdbPrintMetadatas(stdout, output, "warpRun", !simple)) {
             psError(PS_ERR_UNKNOWN, false, "failed to print array");
             psFree(output);
@@ -402,5 +402,5 @@
 }
 
-    
+
 static bool addoverlapMode(pxConfig *config)
 {
@@ -673,16 +673,16 @@
     // XXX need to validate that this coresponds to an warpInputImfile
     if (!warpSkyfileInsert(config->dbh,
-			   (psS64)atoll(warp_id),
-			   skycell_id,
-			   tess_id,
-			   uri,
-			   path_base,
-			   bg,
-			   bg_stdev,
-			   dtime_warp,
-			   hostname,
-			   good_frac,
-			   ignore,
-			   code
+                           (psS64)atoll(warp_id),
+                           skycell_id,
+                           tess_id,
+                           uri,
+                           path_base,
+                           bg,
+                           bg_stdev,
+                           dtime_warp,
+                           hostname,
+                           good_frac,
+                           ignore,
+                           code
         )) {
         if (!psDBRollback(config->dbh)) {
@@ -717,5 +717,5 @@
     // < 5 & MYSQL 5 versions need to be kept in sync
 
-#undef MYSQL5 
+#undef MYSQL5
 #if MYSQL5
     // XXX at MySQL 4.1.21 (probably all of 4.1.x) chokes and dies on this
