exe/csvsql in csvsql-0.1.2 vs exe/csvsql in csvsql-0.1.3
- old
+ new
@@ -45,6 +45,10 @@
Csvsql::Tracker.tracker = Csvsql::Tracker.new(Logger.new($stdout))
end
csv_data = options[:csv_path] || StringIO.new($stdin.read)
-puts Csvsql.execute(ARGV[0], csv_data, use_cache: options[:use_cache], batch_rows: options[:batch_rows])
+puts Csvsql.execute(
+ ARGV[0], csv_data,
+ use_cache: options[:use_cache], batch_rows: options[:batch_rows], sql_error_action: 'exit'
+)
+