hyperdb
Opened 12 years ago
Closed 12 years ago
#2256 closed defect (fixed)
"DESC table" query wrongly identified as
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Priority: | normal | Severity: | normal |
| Plugin: | hyperdb | Keywords: | query db hyperby mysql |
| Cc: | wink@… |
Description
Some plugins, for instance subsribe-to-comments, use the DESC operation to print a table schema. Since this is not accounted for in the hyperdb::is_write_query() function the query gets sent to master, which cause any subsequent query against the table to also be sent to master.
Attachments (3)
Change History (8)
#3
@
12 years ago
- Cc automattic removed
Removing the cc to "automattic" as our email is getting update notifications from Trac every five minutes for some reason. Someone will have a look at this ticket.
Note: See
TracTickets for help on using
tickets.
Change regex to accomodate use of DESC queries