MariaDB Connector/Node.js is used to connect applications developed on Node.js to MariaDB and MySQL databases. MariaDB Connector/Node.js is LGPL licensed.
GNU Lesser General Public License v2.1
366
stars
91
forks
source link
pool.batch() - Cannot read properties of undefined after upgrade to 3.1.0 #235
Just upgraded to 3.1.0 and I'm getting the following error when running pool.batch()
...\node_modules\mariadb\lib\cmd\batch-bulk.js:388
if (this._rows[0].affectedRows !== undefined) {
^
TypeError: Cannot read properties of undefined (reading 'affectedRows')
at BatchBulk.success (...\node_modules\mariadb\lib\cmd\batch-bulk.js:388:27)
at BatchBulk.readOKPacket (...\node_modules\mariadb\lib\cmd\parser.js:182:19)
at BatchBulk.readResponsePacket (...\node_modules\mariadb\lib\cmd\parser.js:49:21)
at PacketInputStream.receivePacketBasic (...\node_modules\mariadb\lib\io\packet-input-stream.js:80:9)
at PacketInputStream.onData (...\node_modules\mariadb\lib\io\packet-input-stream.js:130:20)
Just upgraded to 3.1.0 and I'm getting the following error when running
pool.batch()
Here is my PoolConfig:
Will revert back to 3.0.2 for now. Thanks