Skip to content

Commit 22c2551

Browse files
committed
Fix unit test - test-result-rows-enumerate
1 parent 3b25db2 commit 22c2551

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

lib/protocol/packets/RowDataPacket.js

+5-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,11 @@ Object.defineProperty(RowDataPacket.prototype, '_typeCast', {
1919
value : typeCast
2020
});
2121

22-
RowDataPacket.prototype.id = 'RowDataPacket';
22+
Object.defineProperty(RowDataPacket.prototype, 'id', {
23+
configurable : true,
24+
enumerable : false,
25+
value : 'RowDataPacket'
26+
});
2327

2428
function parse(parser, fieldPackets, typeCast, nestTables, connection) {
2529
var self = this;

0 commit comments

Comments
 (0)