-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Closed
Labels

Description
Hi,
I've got the following error when doing a SELECT:
buffer.js:98
const ui8 = new Uint8Array(size);
^
RangeError: Invalid typed array length
at new Uint8Array (native)
at allocate (buffer.js:98:17)
at new Buffer (buffer.js:49:12)
at Parser.append (/home/[...]/node_modules/mysql/lib/protocol/Parser.js:115:14)
at Parser.write (/home/[...]/node_modules/mysql/lib/protocol/Parser.js:25:8)
at Protocol.write (/home/[...]/node_modules/mysql/lib/protocol/Protocol.js:39:16)
at Socket.<anonymous> (/home/[...]/node_modules/mysql/lib/Connection.js:96:28)
at emitOne (events.js:77:13)
at Socket.emit (events.js:169:7)
at Socket.Readable.read (_stream_readable.js:360:10)
I have no idea what it means...
NOTE that it is a very long SELECT (10 milions records) using a cursor (pause / resume).