1
0
Fork 0

Queries without indexes

This commit is contained in:
Michael 2021-02-21 10:37:15 +00:00
commit 454fbc8ad7
3 changed files with 12 additions and 5 deletions

View file

@ -52,7 +52,7 @@ class CleanItemUri
$ids = array_column($rows, 'id');
DBA::delete('item-uri', ['id' => $ids]);
$affected_count += DBA::affectedRows();
Logger::info('Updated', ['rows' => $affected_count]);
Logger::info('Deleted', ['rows' => $affected_count]);
}
DBA::close($uris);
Logger::notice('Orphaned URI-ID entries removed', ['rows' => $affected_count]);