Protected access to variable m_preparedCount via synchronized
Kris Jurka <books@ejurka.com>
Protected access to variable m_preparedCount via synchronized function to prevent multiple threads using automatic cursors on the same connection from stomping over each others cursor. Originally Jan Wieck, re-reported by Jack Orenstein after accidental removal.
Files
| Path | Change | +/− |
|---|---|---|
| src/interfaces/jdbc/org/postgresql/jdbc1/AbstractJdbc1Statement.java | modified | +3 −3 |