lib/logstash/plugin_mixins/jdbc/jdbc.rb in logstash-input-jdbc-4.3.18 vs lib/logstash/plugin_mixins/jdbc/jdbc.rb in logstash-input-jdbc-4.3.19
- old
+ new
@@ -242,10 +242,10 @@
@connection_lock.lock
open_jdbc_connection
begin
sql_last_value = @use_column_value ? @value_tracker.value : Time.now.utc
@tracking_column_warning_sent = false
- @statement_handler.perform_query(@database, @value_tracker.value) do |row|
+ @statement_handler.perform_query(@database, @value_tracker.value, @jdbc_paging_enabled, @jdbc_page_size) do |row|
sql_last_value = get_column_value(row) if @use_column_value
yield extract_values_from(row)
end
success = true
rescue Sequel::DatabaseConnectionError, Sequel::DatabaseError, Java::JavaSql::SQLException => e