blob: 8bfd4fb5e0bbc511ad78076c1777879d46aefb30 [file] [log] [blame]
MG Mud User88f12472016-06-24 23:31:02 +02001OPTIONAL
2SYNOPSIS
3 int db_close(int handle)
4
Zesstra715ec202025-07-09 22:18:31 +02005DESCRIPTION
6 Close the server-connection with the handle <handle>
7 Return the handle-number on success.
MG Mud User88f12472016-06-24 23:31:02 +02008
Zesstra715ec202025-07-09 22:18:31 +02009 The function is available only if the driver is compiled with
10 mySQL support. In that case, __MYSQL__ is defined.
MG Mud User88f12472016-06-24 23:31:02 +020011
Zesstra715ec202025-07-09 22:18:31 +020012 The efun triggers a privilege violation ("mysql", "db_close").
MG Mud User88f12472016-06-24 23:31:02 +020013
Zesstra715ec202025-07-09 22:18:31 +020014HISTORY
15 Added in 3.2.9 .
16 LDMud 3.2.11 added the privilege violation.
MG Mud User88f12472016-06-24 23:31:02 +020017
Zesstra715ec202025-07-09 22:18:31 +020018SEE ALSO
MG Mud User88f12472016-06-24 23:31:02 +020019 db_affected_rows(E), db_conv_string(E), db_coldefs(E), db_connect(E),
20 db_exec(E), db_error(E), db_fetch(E), db_handles(E), db_insert_id(E),
Zesstra715ec202025-07-09 22:18:31 +020021 mysql(C), privilege_violation(M)