Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do a quick check of database tables on master backend and mythtv-setu…
…p startup. This change causes the master mythbackend and mythtv-setup to check the database tables at application startup. In the event one or more tables is not OK (crashed or errored), it will attempt to repair the tables. If the repair succeeds, startup will continue. Otherwise, the application will exit with a message indicating that the user should repair the database tables. The quick check should pick up crashed tables caused by improperly closed data files. Some classes of data errors won't be detected (checksum errors or incorrect links), but this should handle the majority of issues caused by crashed/killed mysqld server and full filesystems. Note, also, that clients (mythfrontend, mythavtest, ...) and remote backends will not check database tables, since it is not unusual for them to be started and restarted many times while the master backend continues to run. git-svn-id: http://svn.mythtv.org/svn/trunk@25426 7dbf422c-18fa-0310-86e9-fd20926502f2
- Loading branch information
Showing
5 changed files
with
174 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters