Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix crash from getting the numrow of a null buffered result set #333

Merged
merged 2 commits into from
Mar 23, 2017

Conversation

yukiwongky
Copy link
Contributor

@yukiwongky yukiwongky commented Mar 20, 2017

fit for #330
fix crash from sqlsrv_num_rows to get the numrow in a client buffered result set that is null
added test

@coveralls
Copy link

Coverage Status

Coverage increased (+0.02%) to 55.396% when pulling c1a1a06 on v-kaywon:numrow_null_result into 7434d06 on Microsoft:dev.

@yukiwongky yukiwongky requested a review from Hadis-Knj March 20, 2017 23:45
return zend_hash_num_elements( cache );
}
else {
return -1;

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please add a comment that what does -1 mean

@coveralls
Copy link

Coverage Status

Coverage increased (+0.02%) to 55.396% when pulling d68300f on v-kaywon:numrow_null_result into 7434d06 on Microsoft:dev.

@yukiwongky yukiwongky merged commit 566a2da into microsoft:dev Mar 23, 2017
@yukiwongky yukiwongky deleted the numrow_null_result branch June 30, 2017 21:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants