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

handle innodb_autoinc_lock_mode when rewrite is activated

    XMLWordPrintable

    Details

    • Type: Task
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Won't Do
    • Affects Version/s: None
    • Fix Version/s: N/A
    • Component/s: batch
    • Labels:
      None

      Description

      According to server variable innodb_autoinc_lock_mode https://mariadb.com/kb/en/mariadb/auto_increment-handling-in-xtradbinnodb/
      insert ids lock are different.

      This can affect rewrite option. If variable innodb_autoinc_lock_mode is set to values that cannot permit to ensure generatedKeys are accurate, when query is asked with RETURN_GENERATED_KEYS, rewrite must not be used.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved:

                Git Integration