Make WordPress Core

Opened 5 months ago

Closed 5 months ago

Last modified 5 months ago

#51932 closed defect (bug) (fixed)

Problem Show Message when MySQL Database is Repaired in MyISAM

Reported by: mehrshaddarzi Owned by: SergeyBiryukov
Milestone: 5.7 Priority: normal
Severity: normal Version: 2.9
Component: Database Keywords: has-patch
Focuses: Cc:


the $repaire variable not Check in wp-admin/maint/repair.php file.

Attachments (1)

51932.patch (1.1 KB) - added by mehrshaddarzi 5 months ago.

Download all attachments as: .zip

Change History (4)

#1 @SergeyBiryukov
5 months ago

  • Component changed from General to Database
  • Milestone changed from Awaiting Review to 5.7
  • Owner set to SergeyBiryukov
  • Status changed from new to reviewing

Hi there, welcome back to WordPress Trac! Thanks for the report.

Good catch, this appears to be a copy/paste issue that existed ever since the file was added in [11902].

#2 @SergeyBiryukov
5 months ago

  • Resolution set to fixed
  • Status changed from reviewing to closed

In 49750:

Database: Check the correct value for displaying the "Successfully repaired table" or "Failed to repair" messages on Database Repair screen.

Additionally, rename the variables holding the results of ANALYZE TABLE and OPTIMIZE TABLE requests, for clarity.

Props mehrshaddarzi.
Fixes #51932.

#3 @SergeyBiryukov
5 months ago

  • Version set to 2.9

Setting the Version field to 2.9 as the earliest applicable version, per [11902] / #10728.

Note: See TracTickets for help on using tickets.