---
name: "mysql_stmt_more_results"
section: "3"
platform: "linux"
package: "mariadb"
version: "13.0.2-2"
release: "Arch Linux 2026-11-01"
platforms: ["linux"]
url: "https://new.carta.tech/mysql_stmt_more_results"
---

# mysql\_stmt\_more\_results(3)

### Name

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

### Synopsis

-

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

### Description

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

### Parameter

- •

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

### Notes

- •

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

### Return value

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

### See also

- •

  **[mysql\_stmt\_next\_result(3)](/mysql_stmt_next_result/3.md)**

- •

  **[mysql\_stmt\_store\_result(3)](/mysql_stmt_store_result/3.md)**
