module ActiveRecord::ConnectionAdapters::MySQL::Quoting

def quoted_binary(value)

def quoted_binary(value)
  "x'#{value.hex}'"
end