Modify ↓
Opened 10 years ago
Closed 9 years ago
#12068 closed defect (duplicate)
"INSERT OR REPLACE INTO session_attribute" fails with mysql server 5.5 (debian)
Reported by: | Owned by: | branson | |
---|---|---|---|
Priority: | normal | Component: | DirectoryAuthPlugin |
Severity: | normal | Keywords: | mysql, ldap |
Cc: | Trac Release: | 1.0 |
Description
(this bug may more generic but solution here "works-for-me")
Did easy_install http://trac-hacks.org/svn/directoryauthplugin/trunk (version 1.0.1)
After manual setup try to login using known good account. According to log, account is verified ok but code fails on "/usr/local/lib/python2.7/dist-packages/TracDirectoryAuth-1.0.1-py2.7.egg/tracext/dirauth/auth.py", line 335
Reason being (I assume) my mysql-server does not recognize "INSERT OR REPLACE INTO" but recognizes "REPLACE INTO"
to fix this I changed all "INSERT OR REPLACE" => "REPLACE" within auth.py
Attachments (0)
Note: See
TracTickets for help on using
tickets.
In 14830: