[CONJS-128] Error when using multipleStatements with metaAsArray Created: 2020-03-23  Updated: 2020-05-22  Resolved: 2020-03-23

Status: Closed
Project: MariaDB Connector/node.js
Component/s: configuration
Affects Version/s: None
Fix Version/s: 2.4.0

Type: Bug Priority: Major
Reporter: Diego Dupin Assignee: Diego Dupin
Resolution: Fixed Votes: 0
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  


Generated at Thu Feb 08 03:22:57 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.