Merge pull request #7 from aceoliver/master
wrong number of arguments (3 for 2)
This commit is contained in:
commit
c349f6f617
|
@ -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