Uploaded image for project: 'MariaDB Connector/node.js'
  1. MariaDB Connector/node.js
  2. CONJS-231

BULK command when reaching maximum packet is wrongly split

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Critical
    • Resolution: Fixed
    • 3.0.2
    • 3.1.0
    • batch
    • None

    Description

      when executing batch, packet with parameter can be too long to fit in one mysql packet/ reaching max_allowed_packet.
      Driver by default use a 4M maximum length if option maxAllowedPacket is not set.

      When splitting, if last bunch of parameter size is > 256, then 4 bytes are skipped creating wrong data / server error.

      Attachments

        Activity

          People

            diego dupin Diego Dupin
            diego dupin Diego Dupin
            Votes:
            0 Vote for this issue
            Watchers:
            1 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.