- Timestamp:
- 05/30/07 21:12:43 (17 years ago)
- Location:
- pykota/trunk/pykota/storages
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/pykota/storages/mysqlstorage.py
r3138 r3183 82 82 after = time.time() 83 83 self.tool.logdebug("Transaction committed.") 84 self.tool.logdebug("Transaction duration : %.4f seconds" % (after - self.before))84 #self.tool.logdebug("Transaction duration : %.4f seconds" % (after - self.before)) 85 85 86 86 def rollbackTransaction(self) : … … 89 89 after = time.time() 90 90 self.tool.logdebug("Transaction aborted.") 91 self.tool.logdebug("Transaction duration : %.4f seconds" % (after - self.before))91 #self.tool.logdebug("Transaction duration : %.4f seconds" % (after - self.before)) 92 92 93 93 def doRawSearch(self, query) : … … 106 106 result = self.cursor.fetchall() 107 107 after = time.time() 108 self.tool.logdebug("Query Duration : %.4f seconds" % (after - before))108 #self.tool.logdebug("Query Duration : %.4f seconds" % (after - before)) 109 109 return result 110 110 … … 144 144 else : 145 145 after = time.time() 146 self.tool.logdebug("Query Duration : %.4f seconds" % (after - before))146 #self.tool.logdebug("Query Duration : %.4f seconds" % (after - before)) 147 147 148 148 def doQuote(self, field) : -
pykota/trunk/pykota/storages/sqlitestorage.py
r3133 r3183 65 65 after = time.time() 66 66 self.tool.logdebug("Transaction committed.") 67 self.tool.logdebug("Transaction duration : %.4f seconds" % (after - self.before))67 #self.tool.logdebug("Transaction duration : %.4f seconds" % (after - self.before)) 68 68 69 69 def rollbackTransaction(self) : … … 72 72 after = time.time() 73 73 self.tool.logdebug("Transaction aborted.") 74 self.tool.logdebug("Transaction duration : %.4f seconds" % (after - self.before))74 #self.tool.logdebug("Transaction duration : %.4f seconds" % (after - self.before)) 75 75 76 76 def doRawSearch(self, query) : … … 88 88 result = self.cursor.fetchall() 89 89 after = time.time() 90 self.tool.logdebug("Query Duration : %.4f seconds" % (after - before))90 #self.tool.logdebug("Query Duration : %.4f seconds" % (after - before)) 91 91 return result 92 92 … … 125 125 else : 126 126 after = time.time() 127 self.tool.logdebug("Query Duration : %.4f seconds" % (after - before))127 #self.tool.logdebug("Query Duration : %.4f seconds" % (after - before)) 128 128 129 129 def doQuote(self, field) :