mysql\_stmt\_more\_results(3) MariaDB Connector/C mysql\_stmt\_more\_results(3)

## [Name](#Name)

mysql\_stmt\_more\_results - indicates if one or more results from a previously executed prepared statement are available

## [Synopsis](#Synopsis)

```
#include <mysql.h>
my_bool mysql_stmt_more_results(MYSQL_STMT * stmt);
    
```

## [Description](#Description)

Indicates if one or more result sets are available from a previous call to [**mysql\_stmt\_execute(3)**](/man/os/mariadb-11.2/mysql_stmt_execute.3).

## [Parameter](#Parameter)

•

stmt - a statement handle, which was previously allocated by mysql\_stmt\_init() (mysql\_init) and executed by [**mysql\_stmt\_execute(3)**](/man/os/mariadb-11.2/mysql_stmt_execute.3).

## [Notes](#Notes)

•

Multiple result sets can be obtained by calling a stored procedure. Executing concatenated statements is not supported in prepared statement protocol.

## [Return value](#Return_value)

Returns 1 if more result sets are available, otherwise zero.

## [See also](#See_also)

•

[**mysql\_stmt\_next\_result(3)**](/man/os/mariadb-11.2/mysql_stmt_next_result.3)

•

[**mysql\_stmt\_store\_result(3)**](/man/os/mariadb-11.2/mysql_stmt_store_result.3)

Version 3.3.1

---

Document: mysql_stmt_more_results(3) from mariadb-11.2 11.2.5-r0 (Chainguard OS)
