summaryrefslogtreecommitdiff
path: root/ext/pdo/php_pdo_int.h
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2005-02-06 21:05:59 +0000
committerWez Furlong <wez@php.net>2005-02-06 21:05:59 +0000
commite3ba31e899b5b1e6cf639086e71b033c5bbb3725 (patch)
tree414e5528a41014c12d6566403bcf8f3a7ff292d2 /ext/pdo/php_pdo_int.h
parentec98e744bebe36d81cb62349435771c30dccd1ae (diff)
downloadphp-git-e3ba31e899b5b1e6cf639086e71b033c5bbb3725.tar.gz
better handling of pdo-level errors
Diffstat (limited to 'ext/pdo/php_pdo_int.h')
-rwxr-xr-xext/pdo/php_pdo_int.h1
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)