Make WordPress Core

Opened 3 years ago

Closed 3 years ago

Last modified 3 years ago

#51932 closed defect (bug) (fixed)

Problem Show Message when MySQL Database is Repaired in MyISAM

Reported by: mehrshaddarzi's profile mehrshaddarzi Owned by: sergeybiryukov's profile 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 3 years ago.

Download all attachments as: .zip

Change History (4)

3 years ago

#1 @SergeyBiryukov
3 years 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
3 years 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
3 years 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.