Skip to content

Commit

Permalink
Always use non-connection escape string function (utf8)
Browse files Browse the repository at this point in the history
  • Loading branch information
mscdex committed Sep 12, 2012
1 parent 99bd2cc commit e576bd6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Client.js
Expand Up @@ -219,7 +219,7 @@ Client.prototype.prepare = function(query) {
for (j=0,len=tokens.length; j<len; ++j) { for (j=0,len=tokens.length; j<len; ++j) {
ret += parts[j]; ret += parts[j];
ret += "'"; ret += "'";
ret += self._client.escape(values[tokens[j]] + ''); ret += addon.escape(values[tokens[j]] + '');
ret += "'"; ret += "'";
} }
if (j < parts.length) if (j < parts.length)
Expand Down

0 comments on commit e576bd6

Please sign in to comment.