formatting
This commit is contained in:
parent
858523d7a9
commit
bd25b31731
@ -75,7 +75,7 @@ static VALUE rb_mysql_client_escape(VALUE self, VALUE str) {
|
||||
|
||||
newStr = rb_str_new(query, mysql_real_escape_string(client, query + queryLen, query, queryLen));
|
||||
#ifdef HAVE_RUBY_ENCODING_H
|
||||
rb_enc_associate_index(newStr, utf8Encoding);
|
||||
rb_enc_associate_index(newStr, utf8Encoding);
|
||||
#endif
|
||||
return newStr;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user