Index: trunk/ippToPsps/jython/mysql.py
===================================================================
--- trunk/ippToPsps/jython/mysql.py	(revision 37246)
+++ trunk/ippToPsps/jython/mysql.py	(revision 37917)
@@ -258,5 +258,6 @@
             self.execute(sql)
         except: pass
-            #self.logger.warn("Index already in place on '" + column + "' for table '" + table + "'")
+            
+           # self.logger.warn("Index already in place on '" + column + "' for table '" + table + "'")
     '''
     Changes the database engine for this table to InnoDb
@@ -477,4 +478,13 @@
         self.execute("SET @i = 0")
         self.execute("UPDATE " + table + " SET " + colName + "=(@i:=@i+1)")
-        self.execute("ALTER TABLE " + table + " ADD PRIMARY KEY (" + colName + ")")
-
+        self.execute("ALTER IGNORE TABLE " + table + " ADD PRIMARY KEY (" + colName + ")")
+
+    '''                                                                                                                                             
+    Adds a column to this table which contains a row count                                                                                          
+    '''
+    def addRowCountColumnNoKey(self, table, colName):
+
+        self.execute("ALTER TABLE " + table + " ADD COLUMN " + colName + " INTEGER FIRST")
+        self.execute("SET @i = 0")
+        self.execute("UPDATE " + table + " SET " + colName + "=(@i:=@i+1)")
+
