summaryrefslogtreecommitdiff
path: root/ext/pdo_mysql/mysql_driver.c
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/mysql_driver.c
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/mysql_driver.c')
-rwxr-xr-xext/pdo_mysql/mysql_driver.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/pdo_mysql/mysql_driver.c b/ext/pdo_mysql/mysql_driver.c
index e217654933..948ee5e7d7 100755
--- a/ext/pdo_mysql/mysql_driver.c
+++ b/ext/pdo_mysql/mysql_driver.c
@@ -30,7 +30,7 @@
#include "php_pdo_mysql.h"
#include "php_pdo_mysql_int.h"
-int _mysql_error(char *what, int errno, const char *file, int line TSRMLS_DC) /* {{{ */
+int _pdo_mysql_error(char *what, int errno, const char *file, int line TSRMLS_DC) /* {{{ */
{
switch (errno) {
default:
@@ -59,7 +59,7 @@ static int mysql_handle_closer(pdo_dbh_t *dbh TSRMLS_DC) /* {{{ */
}
/* }}} */
-static int mysql_handle_preparer(pdo_dbh_t *dbh, const char *sql, long sql_len, pdo_stmt_t *stmt TSRMLS_DC)
+static int mysql_handle_preparer(pdo_dbh_t *dbh, const char *sql, long sql_len, pdo_stmt_t *stmt, long options, zval *driver_options TSRMLS_DC)
{
pdo_mysql_db_handle *H = (pdo_mysql_db_handle *)dbh->driver_data;
pdo_mysql_stmt *S = ecalloc(1, sizeof(pdo_mysql_stmt));