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

Move DB-specific SQL generation into DBAL

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Won't Fix
    • Icon: Major Major
    • 3.1.12-RC1
    • 3.0.8
    • None
    • None

      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.

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

              Created:
              Updated:
              Resolved: