Modify ↓
Opened 14 years ago
Closed 14 years ago
#8390 closed defect (duplicate)
SQL error when using PostgreSQL viewing /hours where no tickets exist
Reported by: | Adam Piper | Owned by: | Ryan J Ollos |
---|---|---|---|
Priority: | normal | Component: | TracHoursPlugin |
Severity: | normal | Keywords: | postgresql postgres sql syntax error |
Cc: | Trac Release: | 0.11 |
Description
While this works fine on SQLite the "WHERE ticket IN ()" is invalid for PostgreSQL. As such I have tweaked the code to merely return an empty list in this circumstance. See attached patch.
Attachments (0)
Note: See
TracTickets for help on using
tickets.
Duplicate of #8391 (which has the patch).