[CalendarServer-changes] [8165] CalendarServer/branches/users/glyph/shared-pool-take2/twext/ enterprise/dal/syntax.py

source_changes at macosforge.org source_changes at macosforge.org
Mon Oct 10 08:03:55 PDT 2011


Revision: 8165
          http://trac.macosforge.org/projects/calendarserver/changeset/8165
Author:   glyph at apple.com
Date:     2011-10-10 08:03:55 -0700 (Mon, 10 Oct 2011)
Log Message:
-----------
Don't attempt to serialize the internal cursor variable - discard it when the query's done.

Modified Paths:
--------------
    CalendarServer/branches/users/glyph/shared-pool-take2/twext/enterprise/dal/syntax.py

Modified: CalendarServer/branches/users/glyph/shared-pool-take2/twext/enterprise/dal/syntax.py
===================================================================
--- CalendarServer/branches/users/glyph/shared-pool-take2/twext/enterprise/dal/syntax.py	2011-10-10 15:03:42 UTC (rev 8164)
+++ CalendarServer/branches/users/glyph/shared-pool-take2/twext/enterprise/dal/syntax.py	2011-10-10 15:03:55 UTC (rev 8165)
@@ -1020,6 +1020,7 @@
 
     def postQuery(self, cursor):
         self.value = mapOracleOutputType(self.var.getvalue())
+        self.var = None
 
 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20111010/2b030a31/attachment-0001.html>


More information about the calendarserver-changes mailing list