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

Split sql_multi_insert() / Add sql_insert()

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 3.1.0-b2
    • Fix Version/s: 3.1.13-RC1
    • Component/s: None
    • Labels:
      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

              Assignee:
              bantu Andreas Fischer
              Reporter:
              bantu Andreas Fischer
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: