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

batch rewrite error when packet reach maxAllowedPacket

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.5.0
    • Component/s: batch
    • Labels:
      None

      Description

      see https://github.com/mariadb-corporation/mariadb-connector-nodejs/issues/135
      When option `maxAllowedPacket` is set, and using batch, an error might be thrown : RangeError [ERR_INVALID_OPT_VALUE]: The value "XXX" is invalid for option "size"

      During packet rewrite split, when reaching maxAllowedPacket side, split is incorrectly done.

        Attachments

          Activity

            People

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

              Dates

              Created:
              Updated:
              Resolved: