diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-12-09 16:03:52 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-12-09 16:16:17 +0100 |
commit | a073b0218cd9a894299600f82cfc3bfe8297a31d (patch) | |
tree | e2c43f0f36e91d117781111143841b04799e5cb6 /ext | |
parent | b9ea8d6b96f0404058a83e7388c3ba276fd55bd5 (diff) | |
download | php-git-a073b0218cd9a894299600f82cfc3bfe8297a31d.tar.gz |
Add ifdef for mysqlnd only function
Diffstat (limited to 'ext')
-rw-r--r-- | ext/pdo_mysql/mysql_statement.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ext/pdo_mysql/mysql_statement.c b/ext/pdo_mysql/mysql_statement.c index 85aabc40d0..68bfcd4eb4 100644 --- a/ext/pdo_mysql/mysql_statement.c +++ b/ext/pdo_mysql/mysql_statement.c @@ -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) /* {{{ */ |