From: Frank M. Kromann Date: Mon, 15 Jan 2007 01:56:09 +0000 (+0000) Subject: Fix mysql -> dblib X-Git-Tag: php-5.2.1RC3~27 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c2cfc1eeee43ed8429252369b05081444df62f57;p=php Fix mysql -> dblib --- diff --git a/ext/pdo_dblib/dblib_stmt.c b/ext/pdo_dblib/dblib_stmt.c index 3be4876a3c..54f5ac08af 100644 --- a/ext/pdo_dblib/dblib_stmt.c +++ b/ext/pdo_dblib/dblib_stmt.c @@ -250,9 +250,9 @@ static int pdo_dblib_stmt_param_hook(pdo_stmt_t *stmt, struct pdo_bound_param_da return 1; } -static int dblib_mysql_stmt_cursor_closer(pdo_stmt_t *stmt TSRMLS_DC) +static int dblib_dblib_stmt_cursor_closer(pdo_stmt_t *stmt TSRMLS_DC) { - pdo_dblib_stmt *S = (pdo_mysql_stmt*)stmt->driver_data; + pdo_dblib_stmt *S = (pdo_dblib_stmt*)stmt->driver_data; if (S->rows) { free_rows(S TSRMLS_CC); @@ -273,6 +273,6 @@ struct pdo_stmt_methods dblib_stmt_methods = { NULL, /* get attr */ NULL, /* meta */ NULL, /* nextrow */ - dblib_mysql_stmt_cursor_closer + dblib_dblib_stmt_cursor_closer };