Skip to content
Snippets Groups Projects
Commit ce7e9e73 authored by akwizgran's avatar akwizgran
Browse files

Fixed a wrong argument number in a prepared statement.

parent 8c4ba716
No related branches found
No related tags found
No related merge requests found
......@@ -2451,7 +2451,7 @@ abstract class JdbcDatabase implements Database<Connection> {
for(TransportUpdate u : updates) {
int txCount = txCounts.get(i++);
ps.setLong(1, calculateExpiry(now, maxLatency, txCount));
ps.setBytes(3, u.getId().getBytes());
ps.setBytes(4, u.getId().getBytes());
ps.addBatch();
}
int [] batchAffected = ps.executeBatch();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment