summaryrefslogtreecommitdiff
path: root/ext/pdo_oci
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2005-08-12 23:32:31 +0000
committerWez Furlong <wez@php.net>2005-08-12 23:32:31 +0000
commitf6276a2b8ac455c0b03c5f0625c5a56ad6296bda (patch)
treed6273d69b9062b5f1f8efcac0e8e63dcf8636413 /ext/pdo_oci
parent6bd0350af8a749fb64ebef366edd7b86c1ce494c (diff)
downloadphp-git-f6276a2b8ac455c0b03c5f0625c5a56ad6296bda.tar.gz
zts fixes
Diffstat (limited to 'ext/pdo_oci')
-rwxr-xr-xext/pdo_oci/oci_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo_oci/oci_driver.c b/ext/pdo_oci/oci_driver.c
index 50113c4790..7d52bdc5a6 100755
--- a/ext/pdo_oci/oci_driver.c
+++ b/ext/pdo_oci/oci_driver.c
@@ -146,7 +146,7 @@ ub4 _oci_error(OCIError *err, pdo_dbh_t *dbh, pdo_stmt_t *stmt, char *what, swor
/* little mini hack so that we can use this code from the dbh ctor */
if (!dbh->methods) {
- zend_throw_exception_ex(php_pdo_get_exception(), 0 TSRMLS_CC, "SQLSTATE[%s]: %s", *pdo_err, einfo->errmsg);
+ zend_throw_exception_ex(php_pdo_get_exception(TSRMLS_C), 0 TSRMLS_CC, "SQLSTATE[%s]: %s", *pdo_err, einfo->errmsg);
}
return einfo->errcode;