Changes between Initial Version and Version 1 of Ticket #9536, comment 8
- Timestamp:
- Sep 14, 2010, 9:21:19 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #9536, comment 8
initial v1 35 35 with self.env.db_query as db: 36 36 for realm, id, filename, ts, description, author in db.execute(""" 37 SELECT type, id, filename, time, description, author38 FROM attachment39 WHERE time > %s AND time < %s AND type = %s40 """, (to_utimestamp(start), to_utimestamp(stop), realm)):37 SELECT type, id, filename, time, description, author 38 FROM attachment 39 WHERE time > %s AND time < %s AND type = %s 40 """, (to_utimestamp(start), to_utimestamp(stop), realm)): 41 41 time = from_utimestamp(ts) 42 42 ...