Modify ↓
Opened 17 years ago
Closed 17 years ago
#2651 closed defect (fixed)
Select syntax causes error without sqlite
Reported by: | Owned by: | dagomez | |
---|---|---|---|
Priority: | normal | Component: | StractisticsPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.10 |
Description
I have Trac with Postgresql and i get this error.
Trac[__init__] ERROR: syntax error at or near "author" LINE 2: SELECT r.author author, COUNT( r.author ) commits
I have fixed it changing all SELECT clauses in stractistics.py adding as
SELECT r.author as author, COUNT( r.author ) as commits
Attachments (0)
Note: See
TracTickets for help on using
tickets.
Hi fsanchog, thank you for the fix!