You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

mysql2

Package Overview
Dependencies
Maintainers
1
Versions
206
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mysql2 - npm Package Compare versions

Comparing version

to
0.8.9

10

lib/packets/text_row.js

@@ -22,2 +22,7 @@ var Packet = require('../packets/packet');

column.forEach(function(val) {
if (val === null)
{
length += 1;
return;
}
var str = val.toString(10);

@@ -31,3 +36,6 @@ length += Packet.lengthCodedNumberLength(str);

column.forEach(function(val) {
packet.writeLengthCodedString(val.toString(10));
if (val === null)
packet.writeInt8(0xfb);
else
packet.writeLengthCodedString(val.toString(10));
});

@@ -34,0 +42,0 @@ return packet;

2

package.json
{
"name": "mysql2",
"version": "0.8.8",
"version": "0.8.9",
"description": "fast mysql driver. Implements core protocol, prepared statements, ssl and compression in native JS",

@@ -5,0 +5,0 @@ "main": "index.js",