diff options
author | Wez Furlong <wez@php.net> | 2005-02-06 21:05:59 +0000 |
---|---|---|
committer | Wez Furlong <wez@php.net> | 2005-02-06 21:05:59 +0000 |
commit | e3ba31e899b5b1e6cf639086e71b033c5bbb3725 (patch) | |
tree | 414e5528a41014c12d6566403bcf8f3a7ff292d2 /ext/pdo/php_pdo_int.h | |
parent | ec98e744bebe36d81cb62349435771c30dccd1ae (diff) | |
download | php-git-e3ba31e899b5b1e6cf639086e71b033c5bbb3725.tar.gz |
better handling of pdo-level errors
Diffstat (limited to 'ext/pdo/php_pdo_int.h')
-rwxr-xr-x | ext/pdo/php_pdo_int.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/pdo/php_pdo_int.h b/ext/pdo/php_pdo_int.h index 48e0df1850..fed5c861f4 100755 --- a/ext/pdo/php_pdo_int.h +++ b/ext/pdo/php_pdo_int.h @@ -50,6 +50,7 @@ zend_object_iterator *php_pdo_dbstmt_iter_get(zend_class_entry *ce, zval *object extern pdo_driver_t *pdo_find_driver(const char *name, int namelen); extern void pdo_handle_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt TSRMLS_DC); +extern void pdo_raise_impl_error(pdo_dbh_t *dbh, pdo_stmt_t *stmt, const char *sqlstate, const char *supp TSRMLS_DC); #define PDO_DBH_CLEAR_ERR() strcpy(dbh->error_code, PDO_ERR_NONE) #define PDO_STMT_CLEAR_ERR() strcpy(stmt->error_code, PDO_ERR_NONE) |