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

Move DB-specific SQL generation into DBAL

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed (View Workflow)
    • Major
    • Resolution: Won't Fix
    • 3.0.8
    • 3.1.12-RC1
    • None
    • None

    Description

      Currently there are many places throughout the code that switch on DBAL (more precisely, they want SQL dialect) and generate different SQL for different databases.

      This should be accomplished by having methods on DBAL classes that generate SQL for generic constructs that is appropriate for the respective database.

      Replacing all switch statements may be too ambitious of an undertaking, however new DB-specific logic should go into DBAL and existing logic may be converted where appropriate.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: