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

Unit tests do not remove comments from schemas

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 3.0.9
    • 3.0.11-RC1
    • Test Suite
    • None
    • Oracle XE 10g

    Description

      When the database is initialized for testing, the schema files aren't processed in the same way that they are by the installer. The installer strips away the comments before loading the schema. In most cases it's fine that this is done, but for Oracle, the table delimiter / is the same as a comment delimiter /* */ so the queries aren't correctly loaded for execution, resulting in SQL errors due to non-queries being executed.

      Attachments

        Issue Links

          Activity

            People

              Oleg Oleg [X] (Inactive)
              Noxwizard Patrick Webster
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: