Removed juusto rps (because I have one)

This commit is contained in:
Ecolipsy 2021-12-02 17:22:41 +01:00
parent 6379ecdaf5
commit 102963c5b7
933 changed files with 242781 additions and 356 deletions

View file

@ -0,0 +1,15 @@
module.exports = ComQueryPacket;
function ComQueryPacket(sql) {
this.command = 0x03;
this.sql = sql;
}
ComQueryPacket.prototype.write = function(writer) {
writer.writeUnsignedNumber(1, this.command);
writer.writeString(this.sql);
};
ComQueryPacket.prototype.parse = function(parser) {
this.command = parser.parseUnsignedNumber(1);
this.sql = parser.parsePacketTerminatedString();
};