mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Add ifdef for mysqlnd only function
This commit is contained in:
parent
b9ea8d6b96
commit
a073b0218c
1 changed files with 2 additions and 0 deletions
|
@ -154,6 +154,7 @@ static int pdo_mysql_fill_stmt_from_result(pdo_stmt_t *stmt) /* {{{ */
|
|||
}
|
||||
/* }}} */
|
||||
|
||||
#ifdef PDO_USE_MYSQLND
|
||||
static bool pdo_mysql_stmt_after_execute_prepared(pdo_stmt_t *stmt) {
|
||||
pdo_mysql_stmt *S = stmt->driver_data;
|
||||
pdo_mysql_db_handle *H = S->H;
|
||||
|
@ -179,6 +180,7 @@ static bool pdo_mysql_stmt_after_execute_prepared(pdo_stmt_t *stmt) {
|
|||
pdo_mysql_stmt_set_row_count(stmt);
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
|
||||
#ifndef PDO_USE_MYSQLND
|
||||
static int pdo_mysql_stmt_execute_prepared_libmysql(pdo_stmt_t *stmt) /* {{{ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue