factorylabs-adapter_extensions 0.5.2 → 0.5.3
Sign up to get free protection for your applications and to get access to all the features.
@@ -54,7 +54,7 @@ module ActiveRecord #:nodoc:
|
|
54
54
|
q << " ENCLOSED BY '#{options[:fields][:enclosed_by]}'" if options[:fields][:enclosed_by]
|
55
55
|
end
|
56
56
|
q << " IGNORE #{options[:ignore]} LINES" if options[:ignore]
|
57
|
-
q << " (#{options[:columns].map { |c|
|
57
|
+
q << " (#{options[:columns].map { |c| quote_column_name(c.to_s) }.join(',')})" if options[:columns]
|
58
58
|
execute(q)
|
59
59
|
end
|
60
60
|
|