summaryrefslogtreecommitdiff
path: root/ext/pdo_mysql/php_pdo_mysql_int.h
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2004-05-19 12:40:11 +0000
committerWez Furlong <wez@php.net>2004-05-19 12:40:11 +0000
commit8759648192a6854a80f2bd6344ce5d00fe32c3da (patch)
tree6306d4720e9f7e41085462159b7dbe4800c21c63 /ext/pdo_mysql/php_pdo_mysql_int.h
parent4116d9fb0e310dc8f888a1d47e78c659451272cd (diff)
downloadphp-git-8759648192a6854a80f2bd6344ce5d00fe32c3da.tar.gz
Update prepare() prototype.
Attempt to hunt down the cause of a build warning under win32 by adjust the name of the error function.
Diffstat (limited to 'ext/pdo_mysql/php_pdo_mysql_int.h')
-rwxr-xr-xext/pdo_mysql/php_pdo_mysql_int.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/pdo_mysql/php_pdo_mysql_int.h b/ext/pdo_mysql/php_pdo_mysql_int.h
index 057089832d..f66eb3cdf0 100755
--- a/ext/pdo_mysql/php_pdo_mysql_int.h
+++ b/ext/pdo_mysql/php_pdo_mysql_int.h
@@ -26,7 +26,7 @@
/* stuff we use in a mySQL database handle */
typedef struct {
MYSQL *server;
- unsigned int last_err;
+ int last_err;
unsigned attached:1;
unsigned _reserved:31;
} pdo_mysql_db_handle;
@@ -53,8 +53,8 @@ typedef struct {
extern pdo_driver_t pdo_mysql_driver;
-extern int _mysql_error(char *what, int errno, const char *file, int line TSRMLS_DC);
-#define pdo_mysql_error(w,s) _mysql_error(w, s, __FILE__, __LINE__ TSRMLS_CC)
+extern int _pdo_mysql_error(char *what, int 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);
extern struct pdo_stmt_methods mysql_stmt_methods;