mysql_stmt_more_results(3)
β¨ mysql_stmt_more_results π
okay so bestie, welcome to the MariaDB Connector/C manual, and today's main character is mysql_stmt_more_results β she's the one who tells you whether there are more result sets waiting for you from a prepared statement you already ran. yes, more. as in, plural. as in, the plot thickens. π
πΈ 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
She indicates if one or more result sets are available from a previous call to mysql_stmt_execute(3). that's it, that's the whole vibe check. β¨
π Parameter
stmtβ a statement handle, which was previously allocated bymysql_stmt_init()and executed bymysql_stmt_execute(3). like, she's gotta be a real one who's already been through init and execute, no shortcuts bestie π«Ά
π Notes
- Multiple result sets can be obtained by calling a stored procedure. yes, stored procs are that girl and they can hand you back a whole stack of result sets. π
- Executing concatenated statements is not supported in prepared statement protocol. so don't try to be slick and smoosh multiple statements together in a prepared statement, because she will not play that game. π
β Return value
Returns 1 if more result sets are available, otherwise zero. one means "there's more, keep going", zero means "that's a wrap, we're done here". periodt. π
π₯ See also
Version 3.4 of the MariaDB Connector/C manual, bestie β that's the whole page. go forth and fetch those extra result sets, you absolute icon. mwah ππΈπ¦β¨
π¦ where this page comes from
- alpine 3.22: mariadb-doc 11.4.13-r0 Β· GPL-2.0-or-later
- alpine 3.23: mariadb-doc 11.4.13-r0 Β· GPL-2.0-or-later
- alpine 3.24: mariadb-doc 11.8.9-r0 Β· GPL-2.0-only
- arch rolling: mariadb 13.0.2-2 Β· GPL-2.0-only
- arch rolling: mariadb-lts 12.3.3-2 Β· GPL-2.0-only
- centos-stream 10: mariadb-connector-c-doc 3.4.4-2.el10 Β· LGPL-2.1-or-later
- debian trixie: libmariadb-dev 1:11.8.6-0+deb13u1 Β· GPL-2.0-only
- fedora 43: mariadb-connector-c-doc 3.4.5-2.fc43 Β· LGPL-2.1-or-later AND PHP-3.0 AND PHP-3.01
- fedora 43: mariadb-connector-c-doc 3.4.9-2.fc43 Β· LGPL-2.1-or-later AND PHP-3.0 AND PHP-3.01 AND LicenseRef-Fedora-Public-Domain
- fedora 44: mariadb-connector-c-doc 3.4.8-3.fc44 Β· LGPL-2.1-or-later AND PHP-3.0 AND PHP-3.01
- fedora 44: mariadb-connector-c-doc 3.4.9-2.fc44 Β· LGPL-2.1-or-later AND PHP-3.0 AND PHP-3.01 AND LicenseRef-Fedora-Public-Domain
- nixpkgs unstable: mariadb-server 11.8.8
- opensuse-leap 16.0: libmariadb-devel 3.4.9-160000.1.1 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: libmariadb-devel 3.4.9-160000.1.1 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: libmariadb-devel 3.4.9-160000.1.1 Β· LGPL-2.1-or-later
- opensuse-leap 16.0: libmariadb-devel 3.4.9-160000.1.1 Β· LGPL-2.1-or-later
- ubuntu questing: libmariadb-dev 1:11.8.3-1build1
- ubuntu resolute: libmariadb-dev 1:11.8.6-5 Β· GPL-2.0-only
- ubuntu resolute: libmariadb-dev 1:11.8.6-5ubuntu0.1 Β· GPL-2.0-only
- ubuntu stonking: libmariadb-dev 1:11.8.9+ds-4ubuntu2 Β· GPL-2.0-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms