wrong number of arguments (3 for 2)
setInt and setFloat
This commit is contained in:
parent
745876c736
commit
55751a7f4a
|
@ -103,9 +103,9 @@ class LogStash::Outputs::Jdbc < LogStash::Outputs::Base
|
||||||
# Most reliable solution, cross JDBC driver
|
# Most reliable solution, cross JDBC driver
|
||||||
statement.setString(idx + 1, event[i].iso8601())
|
statement.setString(idx + 1, event[i].iso8601())
|
||||||
when Fixnum, Integer
|
when Fixnum, Integer
|
||||||
statement.setInt(idx, + 1, event[i])
|
statement.setInt(idx + 1, event[i])
|
||||||
when Float
|
when Float
|
||||||
statement.setFloat(idx, + 1, event[i])
|
statement.setFloat(idx + 1, event[i])
|
||||||
when String
|
when String
|
||||||
statement.setString(idx + 1, event[i])
|
statement.setString(idx + 1, event[i])
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue
Block a user