Fix mysql -> dblib

This commit is contained in:
Frank M. Kromann 2007-01-15 01:56:09 +00:00
parent d4fbb3ca53
commit c2cfc1eeee

View File

@ -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
};