heh
This commit is contained in:
parent
86302eb1f1
commit
93fabe2b24
|
@ -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 ::Mysql2#escape.
|
# Handle correct quoting of strings using ::Mysql2::Client#escape.
|
||||||
def literal_string(v)
|
def literal_string(v)
|
||||||
db.synchronize{|c| "'#{c.escape(v)}'"}
|
db.synchronize{|c| "'#{c.escape(v)}'"}
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue