From: Ilia Alshanetsky Date: Tue, 16 Jan 2007 18:56:06 +0000 (+0000) Subject: Fixed output code inside odbc_result_all() X-Git-Tag: php-5.2.1RC3~17 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b4f76016fd12c0ce9a34aea9cbd2eb96a7124939;p=php Fixed output code inside odbc_result_all() --- diff --git a/ext/odbc/php_odbc.c b/ext/odbc/php_odbc.c index 3a417b362d..09374431c8 100644 --- a/ext/odbc/php_odbc.c +++ b/ext/odbc/php_odbc.c @@ -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("NULL"); break; } else { - php_printf(buf, result->values[i].vallen); + PHPWRITE(buf, result->values[i].vallen); } php_printf(""); break;