summaryrefslogtreecommitdiff
path: root/ext/pdo/php_pdo_driver.h
diff options
context:
space:
mode:
authorWez Furlong <wez@php.net>2004-05-19 13:43:07 +0000
committerWez Furlong <wez@php.net>2004-05-19 13:43:07 +0000
commit6cd27ff8be059d5cc65fe12d356f844e7da03ce5 (patch)
treeb360743791e14dd649c5138db270598f8b8e9fb1 /ext/pdo/php_pdo_driver.h
parenta0b3e870033d54561348d17a783fc7607180f606 (diff)
downloadphp-git-6cd27ff8be059d5cc65fe12d356f844e7da03ce5.tar.gz
Add $dbh->exec() method.
Rename $dbh->beginWork() to $dbh->beginTransaction().
Diffstat (limited to 'ext/pdo/php_pdo_driver.h')
-rwxr-xr-xext/pdo/php_pdo_driver.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pdo/php_pdo_driver.h b/ext/pdo/php_pdo_driver.h
index a7de8d7c82..59a445b46e 100755
--- a/ext/pdo/php_pdo_driver.h
+++ b/ext/pdo/php_pdo_driver.h
@@ -99,7 +99,7 @@ typedef int (*pdo_dbh_close_func)(pdo_dbh_t *dbh TSRMLS_DC);
typedef int (*pdo_dbh_prepare_func)(pdo_dbh_t *dbh, const char *sql, long sql_len, pdo_stmt_t *stmt, long options, zval *driver_options TSRMLS_DC);
/* execute a statement (that does not return a result set) */
-typedef int (*pdo_dbh_do_func)(pdo_dbh_t *dbh, const char *sql TSRMLS_DC);
+typedef int (*pdo_dbh_do_func)(pdo_dbh_t *dbh, const char *sql, int sql_len TSRMLS_DC);
/* quote a string */
typedef int (*pdo_dbh_quote_func)(pdo_dbh_t *dbh, const char *unquoted, int unquotedlen, char **quoted, int *quotedlen TSRMLS_DC);