Skip to content

Commit c2cfc1e

Browse files
committed
Fix mysql -> dblib
1 parent d4fbb3c commit c2cfc1e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ext/pdo_dblib/dblib_stmt.c

+3-3
Original file line numberDiff line numberDiff line change
@@ -250,9 +250,9 @@ static int pdo_dblib_stmt_param_hook(pdo_stmt_t *stmt, struct pdo_bound_param_da
250250
return 1;
251251
}
252252

253-
static int dblib_mysql_stmt_cursor_closer(pdo_stmt_t *stmt TSRMLS_DC)
253+
static int dblib_dblib_stmt_cursor_closer(pdo_stmt_t *stmt TSRMLS_DC)
254254
{
255-
pdo_dblib_stmt *S = (pdo_mysql_stmt*)stmt->driver_data;
255+
pdo_dblib_stmt *S = (pdo_dblib_stmt*)stmt->driver_data;
256256

257257
if (S->rows) {
258258
free_rows(S TSRMLS_CC);
@@ -273,6 +273,6 @@ struct pdo_stmt_methods dblib_stmt_methods = {
273273
NULL, /* get attr */
274274
NULL, /* meta */
275275
NULL, /* nextrow */
276-
dblib_mysql_stmt_cursor_closer
276+
dblib_dblib_stmt_cursor_closer
277277
};
278278

0 commit comments

Comments
 (0)