app/models/myreplicator/export.rb in myreplicator-1.1.51 vs app/models/myreplicator/export.rb in myreplicator-1.1.52

- old
+ new

@@ -48,10 +48,10 @@ def reload Log.run(:job_type => "export", :name => schedule_name, :file => filename, :export_id => id) do |log| # TRUNCATE TABLE & Rest incremental value if there is any - sql = "TRUNCATE TABLE '#{self.destination_schema}'.'#{self.table_name}';" + sql = "TRUNCATE TABLE #{self.destination_schema}.#{self.table_name};" if self.export_to == "vertica" Myreplicator::DB.exec_sql("vertica",sql) else Myreplicator::DB.exec_sql("#{self.destination_schema}",sql) end