]> granicus.if.org Git - php/commitdiff
update for api changes
authorWez Furlong <wez@php.net>
Sun, 6 Feb 2005 23:22:37 +0000 (23:22 +0000)
committerWez Furlong <wez@php.net>
Sun, 6 Feb 2005 23:22:37 +0000 (23:22 +0000)
ext/pdo_mysql/mysql_driver.c
ext/pdo_mysql/mysql_statement.c

index 75beed0d5d4566546a298d3913379afaaa0f9177..b8a7de8098119d971159a047e90f48befd32c97b 100755 (executable)
@@ -167,7 +167,7 @@ static long pdo_mysql_last_insert_id(pdo_dbh_t *dbh TSRMLS_DC)
        return (long) mysql_insert_id(H->server);
 }
 
-static int mysql_handle_quoter(pdo_dbh_t *dbh, const char *unquoted, int unquotedlen, char **quoted, int *quotedlen  TSRMLS_DC)
+static int mysql_handle_quoter(pdo_dbh_t *dbh, const char *unquoted, int unquotedlen, char **quoted, int *quotedlen, enum pdo_param_type paramtype  TSRMLS_DC)
 {
        pdo_mysql_db_handle *H = (pdo_mysql_db_handle *)dbh->driver_data;
        *quoted = emalloc(2*unquotedlen + 3);
index 8365bc2f5f6174e053bfcd3df22de9e26788b168..80683d926881be071315887cdaafcd01d1ab7070 100755 (executable)
@@ -135,7 +135,7 @@ static int pdo_mysql_stmt_describe(pdo_stmt_t *stmt, int colno TSRMLS_DC)
        return 1;
 }
 
-static int pdo_mysql_stmt_get_col(pdo_stmt_t *stmt, int colno, char **ptr, unsigned long *len TSRMLS_DC)
+static int pdo_mysql_stmt_get_col(pdo_stmt_t *stmt, int colno, char **ptr, unsigned long *len, int *caller_frees TSRMLS_DC)
 {
        pdo_mysql_stmt *S = (pdo_mysql_stmt*)stmt->driver_data;