From 99b2950dab2752c6c860ef917b956aa13c6ea934 Mon Sep 17 00:00:00 2001 From: Raymond Feng Date: Tue, 10 Jun 2014 16:06:16 -0700 Subject: [PATCH] Fix comparison for null and boolean values --- lib/mysql.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/mysql.js b/lib/mysql.js index 6d3d219..2a48299 100644 --- a/lib/mysql.js +++ b/lib/mysql.js @@ -306,6 +306,7 @@ MySQL.prototype.toDatabase = function (prop, val) { return this.toDatabase(prop, val); } } + return this.toDatabase(prop, val); } if (!prop) { return this.client.escape(val);