This commit is contained in:
odain
2021-03-10 15:32:44 +01:00
parent 52cd4f7c5e
commit 842e8f9e01
2 changed files with 2 additions and 0 deletions

View File

@@ -81,6 +81,7 @@ if (!class_exists('AttachmentInstaller'))
}
/**
* @since 2.7.4 N°3788
* @param string $sTableName
* @param int $iBulkSize
*

View File

@@ -727,6 +727,7 @@ class ApplicationInstaller
SetupPage::log_info("There are $iOrphanCount useless records in {$sDBPrefix}priv_change (".sprintf('%.2f', ((100.0*$iOrphanCount)/$iTotalCount))."%)");
if ($iOrphanCount > 0)
{
//N°3793
if ($iOrphanCount > 100000)
{
SetupPage::log_warning("There are too much useless records ($iOrphanCount) in {$sDBPrefix}priv_change. Cleanup cannot be done during setup.");