mirror of
https://github.com/php/php-src.git
synced 2024-11-24 10:24:11 +08:00
Add ifdef for mysqlnd only function
This commit is contained in:
parent
b9ea8d6b96
commit
a073b0218c
@ -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…
Reference in New Issue
Block a user