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

Issue#182 Linux #206

Merged
merged 3 commits into from
Dec 15, 2016
Merged

Issue#182 Linux #206

merged 3 commits into from
Dec 15, 2016

Conversation

Hadis-Knj
Copy link

Fixed issue #182 in Linux

@Hadis-Knj Hadis-Knj requested a review from ulvii December 15, 2016 21:49
@@ -2029,7 +2029,7 @@ void finalize_output_parameters( sqlsrv_stmt* stmt TSRMLS_DC )
// adjust the length of the string to the value returned by SQLBindParameter in the ind_ptr parameter
char* str = Z_STRVAL_P( value_z );
SQLLEN str_len = stmt->param_ind_ptrs[ output_param->param_num ];
if( str_len == SQL_NULL_DATA ) {
if( str_len == SQL_NULL_DATA || str_len == 0) {
zend_string_release( Z_STR_P( value_z ));
Copy link
Contributor

Choose a reason for hiding this comment

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

Please fix indentation.

@ulvii ulvii merged commit aa3bcee into microsoft:PHP-7.0-Linux Dec 15, 2016
@Hadis-Knj Hadis-Knj deleted the issue#182 branch December 16, 2016 17:18
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.

2 participants