Update doc/efun/ aus Driversourcen.
Manpages der efuns aktualisiert, neue Manpages hinzugefuegt.
Change-Id: I7cc91684269ff56d1aef47d5c5e7c87f7fd531dc
diff --git a/doc/efun/db_connect b/doc/efun/db_connect
index ffbd515..df7b560 100644
--- a/doc/efun/db_connect
+++ b/doc/efun/db_connect
@@ -4,30 +4,26 @@
int db_connect(string database, string user)
int db_connect(string database, string user, string password)
-BESCHREIBUNG
- Stelle eine Verbindung zur SQL-Datenbank <database> des
- lokalen SQL-Servers her. Das Ergebnis ist die Handle-Nummer fuer diese
- Verbindung und kann fuer Anfragen zu dieser Datenbank verwendet
- werden. Bei der Verbindung ist die automatische Wiederverbindung
- aktiv - moegliche Folgen davon finden sich in mysql(C).
+DESCRIPTION
+ Connect to the database <database> on the local mySQL-server.
+ The return-value is the handle for this connection. Automatic
+ reconnects are enabled for this connection; see mysql(C) for
+ implications.
+ If the database does not exist or the server is NOT started,
+ a runtime-error is raised.
- Existiert die Datenbank nicht, oder kann der lokale SQL-Server nicht
- gefunden werden, wird ein Laufzeitfehler erzeugt.
+ If specified, the connection is made for <user> with <password>.
- Wenn angegeben, wird die Verbindung fuer <user> mit <password>
- erzeugt.
+ The function is available only if the driver is compiled with
+ mySQL support. In that case, __MYSQL__ is defined.
- Die Funktion ist nur verfuegbar wenn der Driver mit
- mySQL-Unterstuetzung compiliert wurde. In diesem Fall ist das Makro
- __MYSQL__ definiert.
+ The efun triggers a privilege violation ("mysql", "db_connect").
- Die Efun ist privilegiert als ("mysql", "db_connect").
+HISTORY
+ Added in 3.2.9 .
+ LDMud 3.2.11 added the privilege violation.
-GESCHICHTE
- Eingefuehrt in LDMud 3.2.9.
- LDMud 3.2.11 machte die Efun privilegiert.
-
-SIEHE AUCH
+SEE ALSO
db_affected_rows(E), db_conv_string(E), db_close(E), db_coldefs(E),
db_exec(E), db_error(E), db_fetch(E), db_handles(E),
db_insert_id(E), mysql(C), privilege_violation(M)