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

    Details

    • Type: Bug
    • Status: Unverified Fix
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 3.0.7, 3.0.7-PL1
    • Fix Version/s: 3.0.8-RC1
    • Component/s: None
    • Labels:
      None
    • Environment:
      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.

        Activity

        There are no comments yet on this issue.

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development