Skip to content

Commit

Permalink
Fix | Apply the change to SQLServerParameterMetaData as well
Browse files Browse the repository at this point in the history
  • Loading branch information
ulvii committed Oct 2, 2019
1 parent a1ad042 commit 7a402af
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -289,8 +289,8 @@ private void checkClosed() throws SQLServerException {
try (SQLServerStatement s = (SQLServerStatement) con.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE,
ResultSet.CONCUR_READ_ONLY);
SQLServerResultSet rsProcedureMeta = s.executeQueryInternal(
con.isKatmaiOrLater() ? "exec sp_sproc_columns_100 " + sProc + ", @ODBCVer=3"
: "exec sp_sproc_columns " + sProc + ", @ODBCVer=3")) {
con.isKatmaiOrLater() ? "exec sp_sproc_columns_100 " + sProc + ", @ODBCVer=3, @fUsePattern=0"
: "exec sp_sproc_columns " + sProc + ", @ODBCVer=3, @fUsePattern=0")) {

// if rsProcedureMeta has next row, it means the stored procedure is found
if (rsProcedureMeta.next()) {
Expand Down

0 comments on commit 7a402af

Please sign in to comment.