fix typo in comment

This commit is contained in:
Brian Lopez 2010-08-05 00:45:33 -07:00
parent d1b2f98b7c
commit 86302eb1f1

View File

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