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

Error when using multipleStatements with metaAsArray

    XMLWordPrintable

    Details

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

      Description

      When using multiple statement with metaAsArray options, connector might end with an unexpected error if first statement doesn't have a resultset.

      Error message:

      /node_modules/mariadb/lib/cmd/resultset.js:348
      this._meta[this._responseIndex] = this._columns;
      TypeError: Cannot set property 'x' of undefined  
      

        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: