mariadb_dyncol_free(3)
β¨ mariadb_dyncol_free β¨
okay bestie, gather round, because we're talking about mariadb_dyncol_free(3) from the MariaDB Connector/C manual β yes, that's the manual name right there, and the function name is the whole vibe. π
π Name π
mariadb_dyncol_free β free the memory inside the packed blob, no cap.
πΈ Synopsis πΈ
#include <mariadb_dyncol.h>
void mariadb_dyncol_free(DYNAMIC_COLUMN *str)
π Description π
It frees the memory that the specified dynamic column is holding onto. That's it, that's the whole job, and it does it flawlessly. π«Ά
π¦ Parameter π¦
*strβ a pointer to aDYNAMIC_COLUMNstructure. literally just hand it the pointer and it handles the rest.
π Notes π
- important bestie, do not skip this one:
mariadb_dyncol_free()doesn't free the memory of the passedDYNAMIC_COLUMNstructure β it frees all the memory of the stored columns. so it's the contents getting the cleanout, not the struct itself. mind the distinction, it's giving subtle but crucial. π
π See also π
mariadb_dyncol_init(3)
that's the whole page, you ate it, periodt. π
Version 3.4 of the MariaDB Connector/C docs, mwah β go free your columns responsibly, icon. πβ¨
π¦ 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