From: George Schlossnagle Date: Tue, 18 May 2004 05:00:52 +0000 (+0000) Subject: we need the source string length for binary safe string handling X-Git-Tag: RELEASE_0_1~165 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2e281baab949381d9195bcab9d5c8a38d8551f14;p=php we need the source string length for binary safe string handling --- diff --git a/ext/pdo/php_pdo_driver.h b/ext/pdo/php_pdo_driver.h index 8869714ef0..047d3cee3d 100755 --- a/ext/pdo/php_pdo_driver.h +++ b/ext/pdo/php_pdo_driver.h @@ -101,7 +101,7 @@ typedef int (*pdo_dbh_prepare_func)(pdo_dbh_t *dbh, const char *sql, long sql_le typedef int (*pdo_dbh_do_func)(pdo_dbh_t *dbh, const char *sql TSRMLS_DC); /* quote a string */ -typedef int (*pdo_dbh_quote_func)(pdo_dbh_t *dbh, const char *unquoted, char **quoted, int *quotedlen TSRMLS_DC); +typedef int (*pdo_dbh_quote_func)(pdo_dbh_t *dbh, const char *unquoted, int unquotedlen, char **quoted, int *quotedlen TSRMLS_DC); /* transaction related */ typedef int (*pdo_dbh_txn_func)(pdo_dbh_t *dbh TSRMLS_DC);