Index: trunk/ippToPsps/jython/objectbatch.py
===================================================================
--- trunk/ippToPsps/jython/objectbatch.py	(revision 33761)
+++ trunk/ippToPsps/jython/objectbatch.py	(revision 33763)
@@ -81,5 +81,5 @@
         self.scratchDb.makeColumnUnique("Object", "objID")
 
-        # dec is reserved in MySQL, so STILTS replaces if with dec_, which PSPS doesn't like. so, force it back again
+        # dec is reserved in MySQL, so STILTS replaces if with dec_, which PSPS doesn't like. so, force it back again using ``
         self.scratchDb.execute("ALTER TABLE Object CHANGE dec_ `dec` double")
 
@@ -162,8 +162,11 @@
         self.logger.infoPair("Populating", "ObjectCalColor")
         self.logger.infoPair("Inserting objects from", "cpt file")
+
+        # note `` around dec here, as this is a reserved word in MySQL
         sql = "INSERT IGNORE INTO Object (\
                objID \
                ,ippObjID \
                ,objInfoFlag \
+               ,varFlag \
                ,surveyID \
                ,ra \
@@ -178,4 +181,5 @@
                ,CAT_ID*1000000000 + OBJ_ID \
                ,FLAGS \
+               ,0 \
                ," + str(self.surveyID) + " \
                ,RA \
