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: jyrkiviatrachacks.bug@… 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)

Change History (2)

comment:1 Changed 9 years ago by bebbo

In 14830:

refs #12068
refs #11686
refs #11361
refs #11307
refs #11304
refs #10878
refs #10715
refs #10667
refs #10632
refs #10631
refs #11015

various fixes

comment:2 Changed 9 years ago by bebbo

Resolution: duplicate
Status: newclosed

see #10632

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain branson.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.