mysql_stmt_free_result(3)

πŸ“¦
version 13.0.2 Β· 4 versions
, in alpine 3.22, alpine 3.23, alpine 3.24, arch rolling, centos-stream 10, debian trixie, fedora 43, fedora 44, nixpkgs unstable, opensuse-leap 16.0, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ mysql_stmt_free_result(3) β€” the MariaDB Connector/C cleanup era ✨

okay bestie, this is the manual page for mysql_stmt_free_result(3) from the MariaDB Connector/C docs, and it is lowkey all about freeing stored result memory. very demure, very mindful, very "please release that memory."


🌸 Name 🌸

mysql_stmt_free_result β€” frees stored result set memory of a prepared statement

πŸ¦‹ Synopsis πŸ¦‹

#include <mysql.h>

void mysql_stmt_free_result(MYSQL_STMT * stmt);

πŸ’… Description πŸ’…

Frees stored result memory of a prepared statement. that's it, that's the whole serve. you stored result memory, and now you're freeing it. no cap.

πŸŽ€ Parameter πŸŽ€

  • stmt β€” a statement handle, which was previously allocated by mysql_stmt_init(3). like, it has to come from mysql_stmt_init(3), bestie, don't just bring any random handle to the function.

⭐ Return value ⭐

Returns void. nothing comes back, no little treat, just the quiet satisfaction of cleanup. periodt.

🌈 See Also 🌈


Version 3.4 of the MariaDB Connector/C manual, page mysql_stmt_free_result(3). the footer did not give us a date, so we are not inventing one β€” manifesting nothing but facts, mwah πŸ’–

πŸ“¦ where this page comes from