Modify ↓
Opened 12 years ago
Closed 9 years ago
#10632 closed defect (fixed)
Invalid query to update session data on MySQL
Reported by: | anonymous | Owned by: | branson |
---|---|---|---|
Priority: | normal | Component: | DirectoryAuthPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: |
Description
MySQL complains that "INSERT OR REPLACE" query is invalid. Simple "REPLACE" should suffice.
Attachments (0)
Change History (3)
comment:1 Changed 12 years ago by
comment:3 Changed 9 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
all such queries are replaced with to statements # delete # insert
this also works with MariaDB and PostgreSQL
Note: See
TracTickets for help on using
tickets.
Same issue exists for Postgres backend (#11015). I have a patch there that should fix this issue for all backends.