N°2527 - Manage hierarchical keys in database maintenance tools

This commit is contained in:
Eric Espie
2021-10-04 11:34:19 +02:00
parent eb239843aa
commit 8c39374abb
7 changed files with 81 additions and 17 deletions

View File

@@ -40,9 +40,11 @@ class DBAnalyzerUtils
$iCount = $aError['count'];
fwrite($fReport, '-- Count: '.$iCount."\r\n");
fwrite($fReport, '-- Error: '.$sErrorLabel."\r\n");
$sQuery = $aError['query'];
fwrite($fReport, '-- Query: '.$sQuery."\r\n");
if (array_key_exists('query', $aError)) {
$sQuery = $aError['query'];
fwrite($fReport, '-- Query: '.$sQuery."\r\n");
}
if (isset($aError['fixit']))
{
fwrite($fReport, "\r\n-- Fix it (indication):\r\n\r\n");