Document request-scoped MySQL cleanup

This commit is contained in:
udo
2026-07-08 18:44:07 +00:00
parent 6bdccacf02
commit 0ff42f357f
5 changed files with 14 additions and 4 deletions
+1 -1
View File
@@ -10,7 +10,7 @@ m : pointer to an existing MySQL connection struct
:content
Closes an existing connection to a MySQL server.
Call this when you are done using a `MySQL*` connection handle.
Call this when you want to release a `MySQL*` connection handle before the request ends. UCE also closes any remaining MySQL handles automatically during request cleanup, including handles skipped by exceptions or fatal request recovery. A `MySQL*` is only valid inside the request that opened it; do not cache it across requests.
:example
MySQL* db = mysql_connect();