Review main Merged

65410[TASK] DatabaseRecordList: Drop unnecessary DB-Query for each table

Daniel Windloff CR +2 V +2 Easy +9 −13 updated 08/22/20, 09:40

Commit message

For each TCA table a query to determine if a result exists is made.
It could have been some kind of performance optimization,
but it results in an additional query for each table with records
in place.

Such optimizations should be done in the getTable method by using the
existing query to count the total number of records of the table.
Therefore, the query result (the total number of records of the table)
has been used for a guard clause.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 1