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 authored Aug 21, 2024
1 parent 4c6227a commit c05521e
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2510,13 +2510,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 c05521e

Please sign in to comment.