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

Unit tests do not remove comments from schemas

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.0.11-RC1
    • 3.0.9
    • Test Suite
    • None
    • Oracle XE 10g

      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.

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

              Created:
              Updated:
              Resolved: