diff options
| author | Wez Furlong <wez@php.net> | 2005-08-12 23:32:31 +0000 |
|---|---|---|
| committer | Wez Furlong <wez@php.net> | 2005-08-12 23:32:31 +0000 |
| commit | f6276a2b8ac455c0b03c5f0625c5a56ad6296bda (patch) | |
| tree | d6273d69b9062b5f1f8efcac0e8e63dcf8636413 /ext/pdo_mysql | |
| parent | 6bd0350af8a749fb64ebef366edd7b86c1ce494c (diff) | |
| download | php-git-f6276a2b8ac455c0b03c5f0625c5a56ad6296bda.tar.gz | |
zts fixes
Diffstat (limited to 'ext/pdo_mysql')
| -rwxr-xr-x | ext/pdo_mysql/mysql_driver.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo_mysql/mysql_driver.c b/ext/pdo_mysql/mysql_driver.c index d880a259e3..6321eb24f8 100755 --- a/ext/pdo_mysql/mysql_driver.c +++ b/ext/pdo_mysql/mysql_driver.c @@ -97,7 +97,7 @@ int _pdo_mysql_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, const char *file, int lin #endif if (!dbh->methods) { - zend_throw_exception_ex(php_pdo_get_exception(), 0 TSRMLS_CC, "SQLSTATE[%s] [%d] %s", + zend_throw_exception_ex(php_pdo_get_exception(TSRMLS_C), 0 TSRMLS_CC, "SQLSTATE[%s] [%d] %s", *pdo_err, einfo->errcode, einfo->errmsg); } /* printf("** [%s:%d] %s %s\n", file, line, *pdo_err, einfo->errmsg); */ |
