mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Fixed output code inside odbc_result_all()
This commit is contained in:
parent
bb691f155c
commit
b4f76016fd
1 changed files with 2 additions and 2 deletions
|
@ -1984,12 +1984,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…
Add table
Add a link
Reference in a new issue