• Icon: Change Request (Sub-task) Change Request (Sub-task)
    • Resolution: Fixed
    • Icon: Major Major
    • None
    • 1.8.2
    • Proxy (P), Server (S)
    • None

      PostgreSQL supports multiple INSERT statements starting from 8.2. So, instead of executing different code for different database engines we must check database capabilities, so the code should look like:

      if(DBsupport(MULTIPLE_INSERTS))
      {
      // Multiple inserts
      }
      else
      {
      // Single inserts
      }

      instead of

      #ifdef MYSQL
      ...
      ...

            Unassigned Unassigned
            sasha Alexander Vladishev
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: