Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-13188

Sphinx index() function triggers slow queries that time out replies

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Blocker Blocker
    • 3.1.0-RC6
    • 3.1.0-RC5
    • Search
    • None

      It seems that the query in https://github.com/phpbb/phpbb/blob/develop-ascraeus/phpBB/phpbb/search/fulltext_sphinx.php#L698 is entirely missing a WHERE clause and simply selecting all posts of all topics joined with all other posts which can be millions of results.

            naderman Nils Adermann
            naderman Nils Adermann
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: