tony2001 Mon Jul 16 19:12:47 2007 UTC
Modified files:
/php-src/ext/oci8 oci8.c
Log:
fix win32 build
http://cvs.php.net/viewvc.cgi/php-src/ext/oci8/oci8.c?r1=1.331&r2=1.332&diff_format=u
Index: php-src/ext/oci8/oci8.c
diff -u php-src/ext/oci8/oci8.c:1.331 php-src/ext/oci8/oci8.c:1.332
--- php-src/ext/oci8/oci8.c:1.331 Fri Jun 8 08:44:25 2007
+++ php-src/ext/oci8/oci8.c Mon Jul 16 19:12:47 2007
@@ -26,7 +26,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: oci8.c,v 1.331 2007/06/08 08:44:25 tony2001 Exp $ */
+/* $Id: oci8.c,v 1.332 2007/07/16 19:12:47 tony2001 Exp $ */
/* TODO
*
* file://localhost/www/docs/oci10/ociaahan.htm#423823 - implement lob_empty()
with OCI_ATTR_LOBEMPTY
@@ -674,7 +674,7 @@
php_info_print_table_start();
php_info_print_table_row(2, "OCI8 Support", "enabled");
php_info_print_table_row(2, "Version", "1.2.2");
- php_info_print_table_row(2, "Revision", "$Revision: 1.331 $");
+ php_info_print_table_row(2, "Revision", "$Revision: 1.332 $");
snprintf(buf, sizeof(buf), "%ld", OCI_G(num_persistent));
php_info_print_table_row(2, "Active Persistent Connections", buf);
@@ -1636,7 +1636,7 @@
php_oci_descriptor *descriptor;
ub4 lob_length;
int column_size;
- zstr lob_buffer, zstr_data = (zstr)column->data;
+ zstr lob_buffer, zstr_data = ZSTR(column->data);
if (column->indicator == -1) { /* column is NULL */
ZVAL_NULL(value);
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php