Removed juusto rps (because I have one)
This commit is contained in:
parent
6379ecdaf5
commit
102963c5b7
933 changed files with 242781 additions and 356 deletions
15
node_modules/mysql/lib/protocol/packets/ComQueryPacket.js
generated
vendored
Normal file
15
node_modules/mysql/lib/protocol/packets/ComQueryPacket.js
generated
vendored
Normal 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();
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue