Skip to content

Commit

Permalink
Update core_results.cpp
Browse files Browse the repository at this point in the history
  • Loading branch information
yukiwongky authored Mar 23, 2017
1 parent c1a1a06 commit d68300f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions source/shared/core_results.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit d68300f

Please sign in to comment.