Review main Merged

27554[BUGFIX] Break out of foreach if there're no rows in table

Stefan Froemken CR +2 V +2 Easy +10 −1 updated 03/04/14, 16:13

Commit message

Instead of using a slow COUNT on huge tables, we add an
additional query here, which tries to get the first
found record in oder to test if records exists
or not. This new query is extremely fast, because it
uses indexes. It only needs one huge table
like sys_log in your database to see a performance
boost in BE list module.

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