Skip to content

Commit

Permalink
Pstmt objects should be reusable (#2482)
Browse files Browse the repository at this point in the history
  • Loading branch information
tkyc committed Aug 23, 2024
1 parent 25ed577 commit df6e845
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 df6e845

Please sign in to comment.