Skip to content

Commit a073b02

Browse files
committed
Add ifdef for mysqlnd only function
1 parent b9ea8d6 commit a073b02

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ext/pdo_mysql/mysql_statement.c

+2
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@ static int pdo_mysql_fill_stmt_from_result(pdo_stmt_t *stmt) /* {{{ */
154154
}
155155
/* }}} */
156156

157+
#ifdef PDO_USE_MYSQLND
157158
static bool pdo_mysql_stmt_after_execute_prepared(pdo_stmt_t *stmt) {
158159
pdo_mysql_stmt *S = stmt->driver_data;
159160
pdo_mysql_db_handle *H = S->H;
@@ -179,6 +180,7 @@ static bool pdo_mysql_stmt_after_execute_prepared(pdo_stmt_t *stmt) {
179180
pdo_mysql_stmt_set_row_count(stmt);
180181
return true;
181182
}
183+
#endif
182184

183185
#ifndef PDO_USE_MYSQLND
184186
static int pdo_mysql_stmt_execute_prepared_libmysql(pdo_stmt_t *stmt) /* {{{ */

0 commit comments

Comments
 (0)