PATH:
usr
/
local
/
lib
/
node_modules
/
knex-migrator
/
node_modules
/
mysql
/
lib
/
protocol
/
packets
module.exports = LocalInfileRequestPacket; function LocalInfileRequestPacket(options) { options = options || {}; this.filename = options.filename; } LocalInfileRequestPacket.prototype.parse = function parse(parser) { if (parser.parseLengthCodedNumber() !== null) { var err = new TypeError('Received invalid field length'); err.code = 'PARSER_INVALID_FIELD_LENGTH'; throw err; } this.filename = parser.parsePacketTerminatedString(); }; LocalInfileRequestPacket.prototype.write = function write(writer) { writer.writeLengthCodedNumber(null); writer.writeString(this.filename); };
[-] 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]
[-] LocalInfileRequestPacket.js
[edit]
[-] Field.js
[edit]
[-] ComPingPacket.js
[edit]
[-] ClientAuthenticationPacket.js
[edit]