cleanup, docs
This commit is contained in:
@@ -13,4 +13,6 @@ Closes an existing connection to a MySQL server.
|
||||
Call this when you are done using a `MySQL*` connection handle.
|
||||
|
||||
:example
|
||||
print("mysql_disconnect is resource-bound; configure the service or connection, then call it in request code.\n");
|
||||
MySQL* db = mysql_connect();
|
||||
if(db != 0) { mysql_disconnect(db); print("connection closed\n"); }
|
||||
else print("(requires a reachable MySQL server)\n");
|
||||
|
||||
Reference in New Issue
Block a user