Uploaded image for project: 'MariaDB Connector/J'
  1. MariaDB Connector/J
  2. CONJ-384

Add option permit having "affected" or "found" rows

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5.5
    • Fix Version/s: 2.2.6, 1.8.0
    • Component/s: Other
    • Labels:
      None

      Description

      Like said in old comment, add "useAffectedRows" property in url connection.

      Like MySQL connector :

      useAffectedRows

      Don't set the CLIENT_FOUND_ROWS flag when connecting to the server (not JDBC-compliant, will break most applications that rely on "found" rows vs. "affected rows" for DML statements), but does cause "correct" update counts from "INSERT ... ON DUPLICATE KEY UPDATE" statements to be returned by the server.

      Default: false

      Since version: 5.1.7

        Attachments

          Activity

            People

            Assignee:
            diego dupin Diego Dupin
            Reporter:
            sjachym sjachym
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: