comment out a debug message and 1 char change to output message
This commit is contained in:
parent
f45038673c
commit
5d5a6ed39d
|
@ -464,7 +464,7 @@ class fpdb_db:
|
||||||
"AND referenced_column_name = %s ",
|
"AND referenced_column_name = %s ",
|
||||||
(fk['fktab'], fk['fkcol'], fk['rtab'], fk['rcol']) )
|
(fk['fktab'], fk['fkcol'], fk['rtab'], fk['rcol']) )
|
||||||
cons = self.cursor.fetchone()
|
cons = self.cursor.fetchone()
|
||||||
print "afterbulk: cons=", cons
|
#print "afterbulk: cons=", cons
|
||||||
if cons:
|
if cons:
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
|
@ -516,7 +516,7 @@ class fpdb_db:
|
||||||
self.db.set_isolation_level(1) # go back to normal isolation level
|
self.db.set_isolation_level(1) # go back to normal isolation level
|
||||||
self.db.commit() # seems to clear up errors if there were any in postgres
|
self.db.commit() # seems to clear up errors if there were any in postgres
|
||||||
atime = time() - stime
|
atime = time() - stime
|
||||||
print "after import took", atime, "seconds"
|
print "After import took", atime, "seconds"
|
||||||
#end def afterBulkImport
|
#end def afterBulkImport
|
||||||
|
|
||||||
def createAllIndexes(self):
|
def createAllIndexes(self):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user