diff --git a/lib/sequel/adapters/mysql2.rb b/lib/sequel/adapters/mysql2.rb index 168bb52..4da07d7 100644 --- a/lib/sequel/adapters/mysql2.rb +++ b/lib/sequel/adapters/mysql2.rb @@ -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