cvs: /php4/ext/oci8 oci8.c
| From: | Thies C. Arntzen | Date: | Tue, 22 Feb 2000 13:57:19 +0000 |
| Subject: | cvs: /php4/ext/oci8 oci8.c | ||
| Groups: | php.version4 | ||
| Request: | Send a blank email to php-version4+get-10628@lists.php.net to get a copy of this message | ||
thies Tue Feb 22 05:57:19 2000 EDT
Modified files:
/php4/ext/oci8 oci8.c
Log:
@- Fixed OCI8 crash when returning cursors from stored-procedures. (Thies)
Index: php4/ext/oci8/oci8.c
diff -u php4/ext/oci8/oci8.c:1.56 php4/ext/oci8/oci8.c:1.57
--- php4/ext/oci8/oci8.c:1.56 Sat Feb 19 15:41:17 2000
+++ php4/ext/oci8/oci8.c Tue Feb 22 05:56:48 2000
@@ -17,7 +17,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: oci8.c,v 1.56 2000/02/19 23:41:17 zeev Exp $ */
+/* $Id: oci8.c,v 1.57 2000/02/22 13:56:48 thies Exp $ */
/* TODO list:
*
@@ -1731,7 +1731,7 @@
return retval;
}
- if (val->type == IS_OBJECT) {
+ if ((val->type == IS_OBJECT) || (val->type == IS_RESOURCE)) {
retval = OCI_CONTINUE;
} else {
convert_to_string(val);