mirror of
https://github.com/php/php-src.git
synced 2024-09-22 02:17:32 +00:00
Fix mysql -> dblib
This commit is contained in:
parent
d4fbb3ca53
commit
c2cfc1eeee
@ -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
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user