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

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

    XMLWordPrintable

Details

    • Task
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 1.5.5
    • 2.2.6, 1.8.0
    • Other
    • 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

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

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.