Skip to content

Commit 48f8053

Browse files
authored
fix: use Array#<< to append an element to an array (#165)
1 parent 587c54a commit 48f8053

File tree

3 files changed

+8
-5
lines changed

3 files changed

+8
-5
lines changed

CHANGELOG.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
1+
## 5.4.11
2+
- Fixes an exception that could occur while reloading `jdbc_static` databases when the underlying connection to the remote has been broken [#165](https://github.com/logstash-plugins/logstash-integration-jdbc/pull/165)
3+
14
## 5.4.10
2-
- Adds retry mechanism when checkout Derby from SVN repository [#158](https://github.com/logstash-plugins/logstash-integration-jdbc/pull/158)
3-
- [DOC] add known limitations and settings for connection issue [#167](https://github.com/logstash-plugins/logstash-integration-jdbc/pull/167)
5+
- Adds retry mechanism when checkout Derby from SVN repository [#158](https://github.com/logstash-plugins/logstash-integration-jdbc/pull/158)
6+
- [DOC] add known limitations and settings for connection issue [#167](https://github.com/logstash-plugins/logstash-integration-jdbc/pull/167)
47

58
## 5.4.9
69
- Fix Derby missed driver classes when built locally for version 10.15 [#160](https://github.com/logstash-plugins/logstash-integration-jdbc/pull/160)

lib/logstash/filters/jdbc/read_only_database.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ def count(statement)
1212
if connected?
1313
result = @db[statement].count
1414
else
15-
debug_log_messages.concat("and there is no connection to the remote db at this time")
15+
debug_log_messages << "and there is no connection to the remote db at this time"
1616
end
1717
rescue ::Sequel::Error => err
1818
# a fatal issue
@@ -32,7 +32,7 @@ def query(statement)
3232
if connected?
3333
result = @db[statement].all
3434
else
35-
debug_log_messages.concat("and there is no connection to the remote db at this time")
35+
debug_log_messages << "and there is no connection to the remote db at this time"
3636
end
3737
rescue ::Sequel::Error => err
3838
# a fatal issue

logstash-integration-jdbc.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Gem::Specification.new do |s|
22
s.name = 'logstash-integration-jdbc'
3-
s.version = '5.4.10'
3+
s.version = '5.4.11'
44
s.licenses = ['Apache License (2.0)']
55
s.summary = "Integration with JDBC - input and filter plugins"
66
s.description = "This gem is a Logstash plugin required to be installed on top of the Logstash core pipeline using $LS_HOME/bin/logstash-plugin install gemname. This gem is not a stand-alone program"

0 commit comments

Comments
 (0)