Opened 19 years ago
Closed 19 years ago
#3660 closed defect (wontfix)
Check for python-mysqldb does not work properly
| Reported by: | Owned by: | Jonas Borgström | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | general | Version: | devel |
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: | |||
| API Changes: | |||
| Internal Changes: | |||
Description
In trac/db/mysql_backend.py line 138 there is a test for python-mysqldb version. I installed 1.2.1c2-1 (Debian Sarge), so that if statement should take the first suite. But, the suite of the else clause is executed.
Attachments (0)
Change History (2)
comment:1 by , 19 years ago
| Version: | 0.9.6 → devel |
|---|
comment:2 by , 19 years ago
| Resolution: | → wontfix |
|---|---|
| Status: | new → closed |
MySQLdb 1.2.1c2 is a pre-release version, so it is not considered to be ≥ 1.2.1. The reason for the version test is to check whether the "connect" method supports the "charset" parameter, which is not in the pre-release versions. I have MySQLdb 1.2.1c3 installed from Ubuntu Dapper and it does not contain the necessary API changes.



I am using Trac 0.10b1