PATH:
usr
/
local
/
lib
/
node_modules
/
ghost-cli
/
node_modules
/
mysql
/
lib
/
protocol
/
packets
module.exports = EofPacket; function EofPacket(options) { options = options || {}; this.fieldCount = undefined; this.warningCount = options.warningCount; this.serverStatus = options.serverStatus; this.protocol41 = options.protocol41; } EofPacket.prototype.parse = function(parser) { this.fieldCount = parser.parseUnsignedNumber(1); if (this.protocol41) { this.warningCount = parser.parseUnsignedNumber(2); this.serverStatus = parser.parseUnsignedNumber(2); } }; EofPacket.prototype.write = function(writer) { writer.writeUnsignedNumber(1, 0xfe); if (this.protocol41) { writer.writeUnsignedNumber(2, this.warningCount); writer.writeUnsignedNumber(2, this.serverStatus); } };
[-] ComQueryPacket.js
[edit]
[-] HandshakeInitializationPacket.js
[edit]
[+]
..
[-] ComChangeUserPacket.js
[edit]
[-] EofPacket.js
[edit]
[-] LocalDataFilePacket.js
[edit]
[-] OldPasswordPacket.js
[edit]
[-] ResultSetHeaderPacket.js
[edit]
[-] SSLRequestPacket.js
[edit]
[-] RowDataPacket.js
[edit]
[-] EmptyPacket.js
[edit]
[-] AuthSwitchResponsePacket.js
[edit]
[-] OkPacket.js
[edit]
[-] ComQuitPacket.js
[edit]
[-] UseOldPasswordPacket.js
[edit]
[-] AuthSwitchRequestPacket.js
[edit]
[-] ComStatisticsPacket.js
[edit]
[-] ErrorPacket.js
[edit]
[-] FieldPacket.js
[edit]
[-] index.js
[edit]
[-] StatisticsPacket.js
[edit]
[-] Field.js
[edit]
[-] ComPingPacket.js
[edit]
[-] ClientAuthenticationPacket.js
[edit]