Skip to content

Commit

Permalink
fix: redundant reset statement called due to incorrect condition (#435)
Browse files Browse the repository at this point in the history
  • Loading branch information
karenc-bq authored Jul 26, 2023
1 parent 9e29f44 commit 8d952e1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -556,7 +556,7 @@ public void clearParameters(boolean clearServerParameters) {

if (this.queryBindings != null) {
hadLongData = this.queryBindings.clearBindValues();
this.queryBindings.setLongParameterSwitchDetected(clearServerParameters && hadLongData ? false : true);
this.queryBindings.setLongParameterSwitchDetected(clearServerParameters && hadLongData);
}

if (clearServerParameters && hadLongData) {
Expand Down

0 comments on commit 8d952e1

Please sign in to comment.