From d68300ff5350b7e68bd5297c5ed94c390b16a662 Mon Sep 17 00:00:00 2001 From: v-kaywon Date: Thu, 23 Mar 2017 10:52:02 -0700 Subject: [PATCH] Update core_results.cpp --- source/shared/core_results.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/shared/core_results.cpp b/source/shared/core_results.cpp index 67c82e0e0..7c2b1bfdf 100644 --- a/source/shared/core_results.cpp +++ b/source/shared/core_results.cpp @@ -911,6 +911,7 @@ SQLLEN sqlsrv_buffered_result_set::row_count( TSRMLS_D ) return zend_hash_num_elements( cache ); } else { + // returning -1 to represent getting the rowcount of an empty result set return -1; } }