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

Unify behavior of sql_multi_insert for different dbms types

    XMLWordPrintable

Details

    • Improvement
    • Status: Unverified Fix (View Workflow)
    • Major
    • Resolution: Fixed
    • 3.1.0-b2
    • 4.0.0-a1
    • None
    • None

    Description

      sql_multi_insert() accepts one-dimensional data (i.e. a single row), but only when the DBMS supports multi insert. This is obviously horrible API. There should be a method sql_insert() for single rows and sql_multi_insert() should only take multi-dimension arrays.

      Attachments

        Issue Links

          Activity

            People

              Marc Marc
              bantu Andreas Fischer [X] (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: