php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #52958
Patch 52958-PHP-5.4-20120623.patch revision 2012-06-23 09:26 UTC by hswong3i at gmail dot com
Patch 52958-fix-pdo-oci-cleanups.patch revision 2010-10-06 19:34 UTC by kontakt at beberlei dot de
revision 2010-10-06 19:22 UTC by kontakt at beberlei dot de

Patch 52958-fix-pdo-oci-cleanups.patch for PDO related Bug #52958

Patch version 2010-10-06 19:22 UTC

Return to Bug #52958 | Download this patch
This patch is obsolete

Obsoleted by patches:

Patch Revisions:

Developer: kontakt@beberlei.de

Only in php-5.3.3/ext/pdo_oci/: .libs
diff php-5.3.3-orig/php-5.3.3/ext/pdo_oci/oci_driver.c php-5.3.3/ext/pdo_oci/oci_driver.c
189a190
>                 OCISessionEnd(H->svc, H->err, H->session, (ub4) 0);
193c194
< 		OCIHandleFree(H->session, OCI_HTYPE_SESSION);
---
> 		OCIHandleFree((dvoid *)H->session, OCI_HTYPE_SESSION);
197,201d197
< 	if (H->svc) {
< 		OCIHandleFree(H->svc, OCI_HTYPE_SVCCTX);
< 		H->svc = NULL;
< 	}
< 
209a206,210
> 	if (H->svc) {
> 		OCIHandleFree((dvoid *)H->svc, (ub4) OCI_HTYPE_SVCCTX);
> 		H->svc = NULL;
> 	}
> 
211c212
< 		OCIHandleFree(H->server, OCI_HTYPE_SERVER);
---
> 		OCIHandleFree((dvoid *)H->server, (ub4) OCI_HTYPE_SERVER);
215,216c216,219
< 	OCIHandleFree(H->err, OCI_HTYPE_ERROR);
< 	H->err = NULL;
---
>     if (H->err) {
>         OCIHandleFree((dvoid *)H->err, OCI_HTYPE_ERROR);
>         H->err = NULL;
>     }
219c222
< 		OCIHandleFree(H->env, OCI_HTYPE_ENV);
---
> 		OCIHandleFree((dvoid *)H->env, OCI_HTYPE_ENV);
Only in php-5.3.3/ext/pdo_oci/: oci_driver.lo
diff php-5.3.3-orig/php-5.3.3/ext/pdo_oci/oci_statement.c php-5.3.3/ext/pdo_oci/oci_statement.c
652c652
< 		OCIDescriptorFree(self->lob, OCI_DTYPE_LOB);
---
> 		//OCIDescriptorFree(self->lob, OCI_DTYPE_LOB);
Only in php-5.3.3/ext/pdo_oci/: oci_statement.lo
Only in php-5.3.3/ext/pdo_oci/: pdo_oci.la
Only in php-5.3.3/ext/pdo_oci/: pdo_oci.lo
Common subdirectories: php-5.3.3-orig/php-5.3.3/ext/pdo_oci/tests and php-5.3.3/ext/pdo_oci/tests
 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Sun Apr 20 20:02:01 2014 UTC