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

Undefined sorting of posts with same post_time on postgres

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.1.0-RC4
    • 3.0.12, 3.1.0-RC2
    • Viewing posts
    • None

      Posts are sorted by using ORDER BY p.post_time. As far as postgres is concerned, the sorting for rows with the same post time is undefined. It apparently only depends on which row is loaded from the database backend first.

      This should be changed to also sort by post_id.

            Marc Marc
            Marc Marc
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: