Backend/node_modules/mysql/lib/protocol/packets/ComStatisticsPacket.js

13 lines
313 B
JavaScript
Raw Normal View History

2021-12-31 09:33:23 +00:00
module.exports = ComStatisticsPacket;
function ComStatisticsPacket() {
this.command = 0x09;
}
ComStatisticsPacket.prototype.write = function(writer) {
writer.writeUnsignedNumber(1, this.command);
};
ComStatisticsPacket.prototype.parse = function(parser) {
this.command = parser.parseUnsignedNumber(1);
};