iliaa Tue Jan 16 18:56:06 2007 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/odbc php_odbc.c
Log:
Fixed output code inside odbc_result_all()
http://cvs.php.net/viewvc.cgi/php-src/ext/odbc/php_odbc.c?r1=1.189.2.4.2.3&r2=1.189.2.4.2.4&diff_format=u
Index: php-src/ext/odbc/php_odbc.c
diff -u php-src/ext/odbc/php_odbc.c:1.189.2.4.2.3
php-src/ext/odbc/php_odbc.c:1.189.2.4.2.4
--- php-src/ext/odbc/php_odbc.c:1.189.2.4.2.3 Mon Jan 1 09:36:03 2007
+++ php-src/ext/odbc/php_odbc.c Tue Jan 16 18:56:06 2007
@@ -20,7 +20,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: php_odbc.c,v 1.189.2.4.2.3 2007/01/01 09:36:03 sebastian Exp $ */
+/* $Id: php_odbc.c,v 1.189.2.4.2.4 2007/01/16 18:56:06 iliaa Exp $ */
#ifdef HAVE_CONFIG_H
#include "config.h"
@@ -1984,12 +1984,12 @@
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;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php