Modify ↓
Opened 12 years ago
Closed 12 years ago
#11035 closed defect (worksforme)
mysql-specific SQL [patch]
Reported by: | Marc Olzheim | Owned by: | Andreas |
---|---|---|---|
Priority: | normal | Component: | ProjectPlanPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description
The ppreport code contains 3 mysql-specific parts which can easily be made generic.
Attaching patch.
Attachments (1)
Change History (5)
Changed 12 years ago by
Attachment: | sql-limit-fix.patch added |
---|
comment:1 Changed 12 years ago by
Owner: | changed from Matthias to Andreas |
---|
I changed the Component owner just now so that new tickets will be assigned to anbo (current maintainer).
comment:2 Changed 12 years ago by
The Trac database API should be utilized according to t:TracDev/DatabaseApi#RulesforDBAPIUsage. String formatting should not be used to pass arguments to SQL statements, as it will cause cross-DB compatibility issues.
comment:3 Changed 12 years ago by
comment:4 Changed 12 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
I changed the queries as the patch implied.
Changing all the SQL queries is not as easy. However, thanks to rjollos for making the constraints clear.
Note: See
TracTickets for help on using
tickets.
SQL portability patch