Function DatabaseRepair->search_for_index_issues
Definitions
sources/database_repair.php
- Search for issues between the expected indices and existent indices.
- Visibility: private
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: bool
Parameters
Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
---|---|---|---|---|---|---|---|
$existent_indices | array | No | No | required parameter | N/A | N/A | Existent indices |
$expected_indices | array | No | No | required parameter | N/A | N/A | Expected indices |
$meta_indices | array | No | No | required parameter | N/A | N/A | Meta indices |
$meta_tables | array | No | No | required parameter | N/A | N/A | Meta tables |
Returns
- Whether there have been issues found
- Type: boolean
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Search for issues between the expected indices and existent indices.
*
* @param array $existent_indices Existent indices
* @param array $expected_indices Expected indices
* @param array $meta_indices Meta indices
* @param array $meta_tables Meta tables
* @return boolean Whether there have been issues found
*/
private function search_for_index_issues(array $existent_indices, array $expected_indices, array $meta_indices, array $meta_tables) : bool
* Search for issues between the expected indices and existent indices.
*
* @param array $existent_indices Existent indices
* @param array $expected_indices Expected indices
* @param array $meta_indices Meta indices
* @param array $meta_tables Meta tables
* @return boolean Whether there have been issues found
*/
private function search_for_index_issues(array $existent_indices, array $expected_indices, array $meta_indices, array $meta_tables) : bool