Changes between Initial Version and Version 8 of Ticket #2945
- Timestamp:
- Mar 21, 2007, 8:15:24 PM (18 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #2945
- Property Component Admin interface → Database wrapper
- Property Priority highest → normal
- Property Severity critical → normal
- Property Summary DB Api - "count" being inserted → DB Api - non-numeric __getitem__ parameter being inserted into LIMIT clause
- Property Resolution → duplicate
- Property Status new → closed
-
Ticket #2945 – Description
initial v8 4 4 'SELECT `files_version`.`id`,`files_version`.`file_id`,`files_version`.`md5`,`files_version`.`name`,`files_version`.`post_date`,`files_version`.`archive`,`files_version`.`change_log`,`files_version`.`author_id`,`files_version`.`downloads`,`files_version`.`type_id` FROM `files_version` WHERE (`files_version`.`file_id` = %s) ORDER BY `files_version`.`post_date` DESC LIMIT count,1' 5 5 6 {{{ 6 7 Traceback (most recent call last): 7 8 File "/usr/lib/python2.4/site-packages/django/core/handlers/base.py" in get_response … … 58 59 ProgrammingError at /en/files/details/4647/blackuweather-fishing/ 59 60 (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'count,1' at line 1") 61 }}}