Skip to content

Commit

Permalink
Removed volatile for openStatements and added it for requestStarted
Browse files Browse the repository at this point in the history
  • Loading branch information
machavan committed Nov 26, 2024
1 parent 3b34db9 commit 815069a
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7598,7 +7598,7 @@ public <T> T unwrap(Class<T> iface) throws SQLException {
}

/** request started flag */
private boolean requestStarted = false;
private volatile boolean requestStarted = false;

/** original database autocommit mode */
private boolean originalDatabaseAutoCommitMode;
Expand Down Expand Up @@ -7640,7 +7640,7 @@ public <T> T unwrap(Class<T> iface) throws SQLException {
private volatile SQLWarning originalSqlWarnings;

/** open statements */
private volatile List<ISQLServerStatement> openStatements;
private List<ISQLServerStatement> openStatements;

/** original usesFmtOnly flag */
private boolean originalUseFmtOnly;
Expand Down

0 comments on commit 815069a

Please sign in to comment.