diff options
| author | Andrey Hristov <andrey@php.net> | 2008-04-24 14:22:19 +0000 |
|---|---|---|
| committer | Andrey Hristov <andrey@php.net> | 2008-04-24 14:22:19 +0000 |
| commit | f4e659d2af2ba68eb6d9092560eb0247a33fb827 (patch) | |
| tree | 0dd088ae74cb248da04cb842b65f00a356f50dbf /ext/mysqli/mysqli_fe.c | |
| parent | 2667f76d7b7f3fce7bc5a8374632dce5e34cb0b6 (diff) | |
| download | php-git-f4e659d2af2ba68eb6d9092560eb0247a33fb827.tar.gz | |
Update ext/mysql's and ext/mysqli's tests
Add mysqli_stmt_more_result()/mysqli_stmt_next_result(), but only in
mysqlnd builds as libmysql doesn't support this feature.
Diffstat (limited to 'ext/mysqli/mysqli_fe.c')
| -rw-r--r-- | ext/mysqli/mysqli_fe.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/ext/mysqli/mysqli_fe.c b/ext/mysqli/mysqli_fe.c index 5b2cd7b4f1..6184a902fb 100644 --- a/ext/mysqli/mysqli_fe.c +++ b/ext/mysqli/mysqli_fe.c @@ -155,6 +155,10 @@ const zend_function_entry mysqli_functions[] = { PHP_FE(mysqli_stmt_data_seek, NULL) PHP_FE(mysqli_stmt_errno, NULL) PHP_FE(mysqli_stmt_error, NULL) +#if defined(MYSQLI_USE_MYSQLND) + PHP_FE(mysqli_stmt_more_results, NULL) + PHP_FE(mysqli_stmt_next_result, NULL) +#endif PHP_FE(mysqli_stmt_num_rows, NULL) PHP_FE(mysqli_stmt_sqlstate, NULL) PHP_FE(mysqli_stmt_store_result, NULL) @@ -280,6 +284,10 @@ const zend_function_entry mysqli_stmt_methods[] = { PHP_FALIAS(get_warnings, mysqli_stmt_get_warnings, NULL) PHP_FALIAS(result_metadata, mysqli_stmt_result_metadata,NULL) PHP_FALIAS(num_rows, mysqli_stmt_num_rows,NULL) +#if defined(MYSQLI_USE_MYSQLND) + PHP_FALIAS(more_results, mysqli_stmt_more_results, NULL) + PHP_FALIAS(next_result, mysqli_stmt_next_result, NULL) +#endif PHP_FALIAS(send_long_data,mysqli_stmt_send_long_data,NULL) PHP_FALIAS(stmt,mysqli_prepare,NULL) PHP_FALIAS(free_result,mysqli_stmt_free_result,NULL) |
