Skip to content

Commit

Permalink
Pstmt objects should be reusable (#2482) (#2493)
Browse files Browse the repository at this point in the history
  • Loading branch information
tkyc authored Aug 22, 2024
1 parent 64d530e commit 43d268c
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2681,13 +2681,6 @@ private void checkValidColumns(TypeInfo ti) throws SQLServerException {

private void checkAdditionalQuery() {
while (checkAndRemoveCommentsAndSpace(true)) {}

// At this point, if localUserSQL is not empty (after removing all whitespaces, semicolons and comments), we
// have a
// new query. reject this.
if (localUserSQL.length() > 0) {
throw new IllegalArgumentException(SQLServerException.getErrString("R_multipleQueriesNotAllowed"));
}
}

private String parseUserSQLForTableNameDW(boolean hasInsertBeenFound, boolean hasIntoBeenFound,
Expand Down

0 comments on commit 43d268c

Please sign in to comment.