mirror of
https://github.com/php/php-src.git
synced 2024-09-23 10:57:26 +00:00
MFB: Fixed output code inside odbc_result_all()
This commit is contained in:
parent
7511c4ac18
commit
a7a9437199
@ -1977,12 +1977,12 @@ PHP_FUNCTION(odbc_result_all)
|
||||
RETURN_FALSE;
|
||||
}
|
||||
if (rc == SQL_SUCCESS_WITH_INFO)
|
||||
php_printf(buf,result->longreadlen);
|
||||
PHPWRITE(buf, result->longreadlen);
|
||||
else if (result->values[i].vallen == SQL_NULL_DATA) {
|
||||
php_printf("<td>NULL</td>");
|
||||
break;
|
||||
} else {
|
||||
php_printf(buf, result->values[i].vallen);
|
||||
PHPWRITE(buf, result->values[i].vallen);
|
||||
}
|
||||
php_printf("</td>");
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user