Review 12.4 Merged

79416[BUGFIX] Reduce size of prepared statements in DatabaseIntegrityCheck

Stefan Bürk CR +2 V +2 Easy +27 −19 updated 06/20/23, 05:24

Commit message

The code checking for missing relations would perform the query with all
potential missing relation uids for a given table, which, given a large
enough table, would exceed the prepared statement placeholder limit for
the database connection.

This commit makes the relevant function process the checked relation
uids in chunks no larger than the placeholder limit.

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