# mysql\_more\_results

## Syntax

```c
my_bool mysql_more_results(MYSQL * mysql);
```

* `mysql` - a mysql handle, which was previously allocated by [mysql\_init()](/docs/connectors/mariadb-connector-c/api-functions/mysql_init.md) or [mysql\_real\_connect()](/docs/connectors/mariadb-connector-c/api-functions/mysql_real_connect.md).

## Description

Indicates if one or more result sets are available from a previous call to [mysql\_real\_query()](/docs/connectors/mariadb-connector-c/api-functions/mysql_real_query.md). Returns 1 if more result sets are available, otherwise zero.\
.

{% hint style="info" %}
The function [mysql\_set\_server\_option()](/docs/connectors/mariadb-connector-c/api-functions/mysql_set_server_option.md) enables or disables multi statement support.
{% endhint %}

## See also

* [mysql\_real\_query()](/docs/connectors/mariadb-connector-c/api-functions/mysql_real_query.md)
* [mysql\_use\_result()](/docs/connectors/mariadb-connector-c/api-functions/mysql_use_result.md)
* [mysql\_store\_result()](/docs/connectors/mariadb-connector-c/api-functions/mysql_store_result.md)
* [mysql\_next\_result()](/docs/connectors/mariadb-connector-c/api-functions/mysql_next_result.md)

{% @marketo/form formId="4316" %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://mariadb.com/docs/connectors/mariadb-connector-c/api-functions/mysql_more_results.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
