Skip to content
Browse files

Always use non-connection escape string function (utf8)

  • Loading branch information...
1 parent 99bd2cc commit e576bd61a473248f88fe8b7f4c9c942c9aecc2b7 @mscdex committed Sep 12, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/Client.js
View
2 lib/Client.js
@@ -219,7 +219,7 @@ Client.prototype.prepare = function(query) {
for (j=0,len=tokens.length; j<len; ++j) {
ret += parts[j];
ret += "'";
- ret += self._client.escape(values[tokens[j]] + '');
+ ret += addon.escape(values[tokens[j]] + '');
ret += "'";
}
if (j < parts.length)

0 comments on commit e576bd6

Please sign in to comment.
Something went wrong with that request. Please try again.