dabo Commit
Revision 5010
Date: 2009-02-01 14:45:47 -0800 (Sun, 01 Feb 2009)
Author: Ed
Trac: http://trac.dabodev.com/changeset/5010
Changed:
U trunk/dabo/db/dBackend.py
Log:
Fixed a bug in which the FieldDescription property of the cursor was being set,
even though it should be read-only.
Diff:
Modified: trunk/dabo/db/dBackend.py
===================================================================
--- trunk/dabo/db/dBackend.py 2009-02-01 14:42:02 UTC (rev 5009)
+++ trunk/dabo/db/dBackend.py 2009-02-01 22:45:47 UTC (rev 5010)
@@ -436,9 +436,9 @@
# A query hasn't been run yet; so we need to get one
holdWhere = auxCrs._whereClause
auxCrs.addWhere("1 = 0")
- auxCrs.execute(cursor.getSQL())
+ auxCrs.execute(auxCrs.getSQL())
auxCrs._whereClause = holdWhere
- descFlds = cursor.FieldDescription = auxCrs.FieldDescription
+ descFlds = auxCrs.FieldDescription
# Get the raw version of the table
sql = "select * from %s where 1=0 " %
self.encloseNames(cursor.Table,
autoQuote=autoQuote)
@@ -618,4 +618,3 @@
Defaults to None, meaning we never send a KeepAlive
query. The interval
is expressed in seconds.
"""))
-
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message:
http://leafe.com/archives/byMID/[email protected]