summaryrefslogtreecommitdiff
path: root/ext/pdo_mysql/mysql_driver.c
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2005-01-21 00:39:03 +0000
committerWez Furlong <wez@php.net>2005-01-21 00:39:03 +0000
commit26f97a911bb931ac911bb1b1735a5f46c4d14777 (patch)
treec986ad716e409ffa72968e583715737729b84276 /ext/pdo_mysql/mysql_driver.c
parentdcd3d84ddb4c0d79437b93cf1cf71d2793749f77 (diff)
downloadphp-git-26f97a911bb931ac911bb1b1735a5f46c4d14777.tar.gz
Eliminate unused parameter.
Don't start a transaction when asking for a cursor with pgsql. Fix parameter binding for sqlite3
Diffstat (limited to 'ext/pdo_mysql/mysql_driver.c')
-rwxr-xr-xext/pdo_mysql/mysql_driver.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo_mysql/mysql_driver.c b/ext/pdo_mysql/mysql_driver.c
index 5f7b573b7b..75beed0d5d 100755
--- a/ext/pdo_mysql/mysql_driver.c
+++ b/ext/pdo_mysql/mysql_driver.c
@@ -135,7 +135,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, long options, zval *driver_options TSRMLS_DC)
+static int mysql_handle_preparer(pdo_dbh_t *dbh, const char *sql, long sql_len, pdo_stmt_t *stmt, 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));