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

Unify behavior of sql_multi_insert for different dbms types

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major Major
    • 4.0.0-a1
    • 3.1.0-b2
    • None
    • None

      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.

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

              Created:
              Updated:
              Resolved: