From 9e928672d489354cb29dac21db3ee1d75477c68c Mon Sep 17 00:00:00 2001 From: David Puglielli Date: Fri, 29 Sep 2017 16:17:39 -0700 Subject: [PATCH] Update pdo_stmt.cpp --- source/pdo_sqlsrv/pdo_stmt.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/pdo_sqlsrv/pdo_stmt.cpp b/source/pdo_sqlsrv/pdo_stmt.cpp index fe2ff5fa..d0b487d0 100644 --- a/source/pdo_sqlsrv/pdo_stmt.cpp +++ b/source/pdo_sqlsrv/pdo_stmt.cpp @@ -1068,7 +1068,7 @@ int pdo_sqlsrv_stmt_next_rowset( _Inout_ pdo_stmt_t *stmt TSRMLS_DC ) SQLSRV_ASSERT( driver_stmt != NULL, "pdo_sqlsrv_stmt_next_rowset: driver_data object was null" ); // Return the correct error in case the user calls nextRowset() on a null result set. - // Null means that SQLNumResultCols() returns 0 and SQLRowCount is not return > 0. But first + // Null means that SQLNumResultCols() returns 0 and SQLRowCount does not return > 0. But first // check that the statement has been executed and that we are not past the end of a non-null // result set to make sure the user gets the correct error message. These checks are also // done in core_sqlsrv_next_result(), but we cannot check for null results there because that