]> granicus.if.org Git - php/commitdiff
we need the source string length for binary safe string handling
authorGeorge Schlossnagle <gschlossnagle@php.net>
Tue, 18 May 2004 05:00:52 +0000 (05:00 +0000)
committerGeorge Schlossnagle <gschlossnagle@php.net>
Tue, 18 May 2004 05:00:52 +0000 (05:00 +0000)
ext/pdo/php_pdo_driver.h

index 8869714ef0dd7172648cc6ab076343077c0eb1df..047d3cee3d1da2950cea07aa59cdac928662d58b 100755 (executable)
@@ -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);