[Checkins] SVN: relstorage/branches/1.1/relstorage/adapters/common.py Fixed dumb bug

Shane Hathaway shane at hathawaymix.org
Fri Apr 18 19:40:26 EDT 2008


Log message for revision 85482:
  Fixed dumb bug
  

Changed:
  U   relstorage/branches/1.1/relstorage/adapters/common.py

-=-
Modified: relstorage/branches/1.1/relstorage/adapters/common.py
===================================================================
--- relstorage/branches/1.1/relstorage/adapters/common.py	2008-04-18 23:00:19 UTC (rev 85481)
+++ relstorage/branches/1.1/relstorage/adapters/common.py	2008-04-18 23:40:25 UTC (rev 85482)
@@ -566,7 +566,7 @@
                 AND keep_tid IS NULL
             """
             self._run_script(cursor, stmt, {'pack_tid': pack_tid})
-            visit_count = cursor.fetchone()[0]
+            visit_count = cursor.rowcount
 
             if verify_sane_database:
                 # Verify the update actually worked.



More information about the Checkins mailing list