Skip to content

Commit ad0b2a7

Browse files
committed
Try again
1 parent 0c19681 commit ad0b2a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/common.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ exports.readMysqlValue = function (
438438
const defPrefix = def.substr(0, 6);
439439
if (defPrefix === 'binary') {
440440
const bufsize = parseInt(def.substr(7, def.length - 2), 10);
441-
result = new Uint8Array(parser.parseBuffer(bufsize).copy(result));
441+
result = result = new Uint8Array(parser.parseBuffer(bufsize));
442442
} else if (defPrefix === 'varbin') {
443443
result = new Uint8Array(parser.parseBuffer(size));
444444
} else {

0 commit comments

Comments
 (0)