Document request-scoped MySQL cleanup
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user