summaryrefslogtreecommitdiff
path: root/ext/pdo_mysql/php_pdo_mysql_int.h
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2004-05-19 15:12:05 +0000
committerIlia Alshanetsky <iliaa@php.net>2004-05-19 15:12:05 +0000
commitb5f8bd8e9e7da941dcb9e8c7a7ae9a9bbea13487 (patch)
tree932c432d633d8215125aaed8d584d4a297ee3149 /ext/pdo_mysql/php_pdo_mysql_int.h
parentc11d6ca38bb99fed362c96364f09abf789e30be9 (diff)
downloadphp-git-b5f8bd8e9e7da941dcb9e8c7a7ae9a9bbea13487.tar.gz
Simplify config via the use of mysql_config.
Fixed errno naming conflict.
Diffstat (limited to 'ext/pdo_mysql/php_pdo_mysql_int.h')
-rwxr-xr-xext/pdo_mysql/php_pdo_mysql_int.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo_mysql/php_pdo_mysql_int.h b/ext/pdo_mysql/php_pdo_mysql_int.h
index f66eb3cdf0..3a3e4bfa62 100755
--- a/ext/pdo_mysql/php_pdo_mysql_int.h
+++ b/ext/pdo_mysql/php_pdo_mysql_int.h
@@ -53,7 +53,7 @@ typedef struct {
extern pdo_driver_t pdo_mysql_driver;
-extern int _pdo_mysql_error(char *what, int errno, const char *file, int line TSRMLS_DC);
+extern int _pdo_mysql_error(char *what, int mysql_errno, const char *file, int line TSRMLS_DC);
#define pdo_mysql_error(w,s) _pdo_mysql_error(w, s, __FILE__, __LINE__ TSRMLS_CC)
extern int mysql_handle_error(pdo_dbh_t *dbh, pdo_mysql_db_handle *H, int errcode);