[CalendarServer-changes] [6502] CalendarServer/branches/users/glyph/sharedpool/txdav/base/datastore/ asyncsqlpool.py
source_changes at macosforge.org
source_changes at macosforge.org
Mon Nov 1 14:15:03 PDT 2010
Revision: 6502
http://trac.macosforge.org/projects/calendarserver/changeset/6502
Author: glyph at apple.com
Date: 2010-11-01 14:15:01 -0700 (Mon, 01 Nov 2010)
Log Message:
-----------
better method name
Modified Paths:
--------------
CalendarServer/branches/users/glyph/sharedpool/txdav/base/datastore/asyncsqlpool.py
Modified: CalendarServer/branches/users/glyph/sharedpool/txdav/base/datastore/asyncsqlpool.py
===================================================================
--- CalendarServer/branches/users/glyph/sharedpool/txdav/base/datastore/asyncsqlpool.py 2010-11-01 21:14:49 UTC (rev 6501)
+++ CalendarServer/branches/users/glyph/sharedpool/txdav/base/datastore/asyncsqlpool.py 2010-11-01 21:15:01 UTC (rev 6502)
@@ -338,7 +338,7 @@
@ExecSQL.responder
@inlineCallbacks
- def sendSQL(self, transactionID, queryID, sql, args):
+ def receivedSQL(self, transactionID, queryID, sql, args):
norows = True
try:
rows = yield self._txns[transactionID].execSQL(sql, args)
@@ -348,6 +348,8 @@
if rows is not None:
for row in rows:
norows = False
+ # Either this should be yielded or it should be
+ # requiresAnswer=False
self.callRemote(Row, queryID=queryID, row=row)
self.callRemote(QueryComplete, queryID=queryID, norows=norows)
returnValue({})
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/calendarserver-changes/attachments/20101101/22116bbb/attachment.html>
More information about the calendarserver-changes
mailing list