This commit is contained in:
Brian Lopez 2010-08-05 00:45:56 -07:00
parent 86302eb1f1
commit 93fabe2b24
1 changed files with 1 additions and 1 deletions

View File

@ -208,7 +208,7 @@ module Sequel
super(sql, {:type=>:dui}.merge(opts), &block)
end
# Handle correct quoting of strings using ::Mysql2#escape.
# Handle correct quoting of strings using ::Mysql2::Client#escape.
def literal_string(v)
db.synchronize{|c| "'#{c.escape(v)}'"}
end