Author: reinhard
Date: 2005-06-16 15:40:17 -0500 (Thu, 16 Jun 2005)
New Revision: 7600
Modified:
trunk/gnue-common/src/datasources/drivers/DBSIG2/ResultSet.py
Log:
Undoing the change to quote field names in the SELECT statement. It breaks too
many things: selects with wrong case in fieldnames, and selects a la t0.field,
t1.field.
Modified: trunk/gnue-common/src/datasources/drivers/DBSIG2/ResultSet.py
===================================================================
--- trunk/gnue-common/src/datasources/drivers/DBSIG2/ResultSet.py
2005-06-15 14:27:35 UTC (rev 7599)
+++ trunk/gnue-common/src/datasources/drivers/DBSIG2/ResultSet.py
2005-06-16 20:40:17 UTC (rev 7600)
@@ -85,7 +85,7 @@
sortorder, distinct):
params = {}
- what = '"' + string.join (fieldnames, '", "') + '"'
+ what = string.join (fieldnames, ', ')
if distinct:
what = 'DISTINCT ' + what
where = condition.asSQL (params)
_______________________________________________
Commit-gnue mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/commit-gnue