Opened 16 years ago
Closed 16 years ago
#13099 closed defect (bug) (fixed)
deleting blog on some versions of mysql requires escaping
| Reported by: | wpmuguru | Owned by: | |
|---|---|---|---|
| Priority: | high | Milestone: | 3.0 |
| Component: | Multisite | Version: | |
| Severity: | major | Keywords: | |
| Cc: | Focuses: |
Description
Some versions of MySQL treat _% as a wildcard in the SHOW TABLES command. The delete blog function uses _% to determine which tables to drop. Escaping the _ causes MySQL to treat it as a literal rather than a wildcard.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
(In [14215]) escape the trailing underscore in SHOW TABLES LIKE in delete_blog, fixes #13099