diff roundup/backends/rdbms_common.py @ 4085:04843a029ea1

Fix some broken logging. Remove (broken and incorrect) optimisation added to set_inner multilink handling.
author Richard Jones <richard@users.sourceforge.net>
date Tue, 10 Mar 2009 01:08:45 +0000
parents e039f3cbbb96
children 01eb89b07c13
line wrap: on
line diff
--- a/roundup/backends/rdbms_common.py	Fri Feb 27 20:18:13 2009 +0000
+++ b/roundup/backends/rdbms_common.py	Tue Mar 10 01:08:45 2009 +0000
@@ -1740,12 +1740,6 @@
 
                 # handle additions
                 for id in value:
-                    # If this node is in the cache, then we do not need to go to
-                    # the database.  (We don't consider this an LRU hit, though.)
-                    if self.cache.has_key((classname, nodeid)):
-                        # Return 1, not True, to match the type of the result of
-                        # the SQL operation below.
-                        return 1
                     if not self.db.getclass(link_class).hasnode(id):
                         raise IndexError, '%s has no node %s'%(link_class, id)
                     if id in l:

Roundup Issue Tracker: http://roundup-tracker.org/