dabo Commit
Revision 2162
Date: 2006-05-16 17:11:32 -0700 (Tue, 16 May 2006)
Author: paul
Changed:
U trunk/dabo/db/dCursorMixin.py
Log:
My earlier change to return the dataset from executing on the aux cursor was
misguided!
Diff:
Modified: trunk/dabo/db/dCursorMixin.py
===================================================================
--- trunk/dabo/db/dCursorMixin.py 2006-05-16 22:53:35 UTC (rev 2161)
+++ trunk/dabo/db/dCursorMixin.py 2006-05-17 00:11:32 UTC (rev 2162)
@@ -195,10 +195,7 @@
if cursorToUse is not self:
# No need to manipulate the data
- try:
- return DataSet(cursorToUse.fetchall())
- except:
- return res
+ return res
# Not all backends support 'fetchall' after executing a query
# that doesn't return records, such as an update.
@@ -934,7 +931,7 @@
#run the update
aux = self.AuxCursor
res = aux.execute(sql)
-
+
if newrec and self.AutoPopulatePK and (newPKVal is
None):
# Call the database backend-specific code to
retrieve the
# most recently generated PK value.
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev