Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-9514

Correctly delete big datasets when deleting a forum including topics/posts on non-MySQL databases

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Fixed
    • 3.0.7, 3.0.7-PL1
    • 3.0.8-RC1
    • None
    • None
    • Affects: Any DB except MySQL.

    Description

      In acp_forums.php in function delete_forum_content() there is a do-loop to only delete a limited amount of data in one query, deleting the full data set in several iterations.

      However, the outer do-loop only performs one iteration because the continue condition is always false.
      Inner loop: while ($row = $db->sql_fetchrow($result))
      Outer loop: while ($row)

      MySQL is not affected because multi-table deletion is being used.

      Attachments

        Activity

          People

            bantu Andreas Fischer
            bantu Andreas Fischer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: