Changeset 123
- Timestamp:
- 08/07/07 15:13:01
- Files:
-
- branches/ast/geniusql/deparse.py (modified) (1 diff)
- branches/ast/geniusql/select.py (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/ast/geniusql/deparse.py
r122 r123 189 189 try: 190 190 result = self.walk(root) 191 # After walk(), product should be a single string,192 # which is the SQL representation of our Expression.191 # After walk(), the result should be a single string, 192 # which is the SQL representation of our Expression. 193 193 except CannotRepresent: 194 194 # The entire expression could not be evaluated. branches/ast/geniusql/select.py
r122 r123 305 305 colkey = '%s_%s' % (table.schema.key_for(table), colkey) 306 306 colname = '%s_%s' % (table.name, colname) 307 colqname = table.schema.db.quote(colname)307 colqname = self.db.quote(colname) 308 308 selname = '%s AS %s' % (selname, colqname) 309 309 self.input_list.append(selname)
