Comparing version 0.8.8 to 0.8.9
@@ -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; |
{ | ||
"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", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
187651
4311