[PHP-DOC] cvs: phpdoc /de/functions mysql.xml

2002-03-24 Thread Georg Richter

georg   Sun Mar 24 06:15:03 2002 EDT

  Modified files:  
/phpdoc/de/functionsmysql.xml 
  Log:
  
  Translation for new functions mysql_stat and mysql_list_processes
  
  
Index: phpdoc/de/functions/mysql.xml
diff -u phpdoc/de/functions/mysql.xml:1.40 phpdoc/de/functions/mysql.xml:1.41
--- phpdoc/de/functions/mysql.xml:1.40  Sat Mar 23 02:22:18 2002
+++ phpdoc/de/functions/mysql.xml   Sun Mar 24 06:15:02 2002
 -1649,6 +1649,54 
/refsect1
   /refentry
 
+  refentry id=function.mysql-list-processes
+   refnamediv
+refnamemysql_list_processes/refname
+refpurposeZeigt die MySQL Prozesse an/refpurpose
+   /refnamediv
+   refsect1
+titleBeschreibung/title
+ methodsynopsis
+  typeresource/typemethodnamemysql_list_processes/methodname
+  methodparam choice=opttyperesource/typeparameter
+link_identifier
+   /parameter/methodparam
+ /methodsynopsis
+para
+ functionmysql_list_processes/function liefert eine Ergebniskennung,
+ die alle laufenden MySQL-Prozesse enthält. 
+/para
+para
+ example
+  titlefunctionmysql_list_processes/function Beispiel/title
+  programlisting role=php
+![CDATA[
+?php
+$link = mysql_connect('localhost', 'myname', 'secret');
+
+$result = mysql_list_processes($link);
+while ($row = mysql_fetch_row($result)){
+printf(%s %s %s %s %s\n, $row[Id], $row[Host], $row[db],
+   $row[Command], $row[Time]);
+}
+mysql_free_result ($result);
+
+]]
+  /programlisting
+  para
+   Das oben gezeigte Beispiel liefert folgende Ausgabe:
+   screen
+![CDATA[
+1 localhost test Processlist 0
+4 localhost mysql sleep 5
+]]
+   /screen
+  /para
+ /example
+/para
+   /refsect1
+  /refentry
+
   refentry id=function.mysql-list-tables
refnamediv
 refnamemysql_list_tables/refname
 -2208,6 +2256,51 
 /para
 para
  functionmysql_get_server_info/function wurde in PHP 4.0.5 hinzugefügt.
+/para
+   /refsect1
+  /refentry
+
+  refentry id=function.mysql-stat
+   refnamediv
+refnamemysql_stat/refname
+refpurposeZeigt den momentanen Serverstatus an/refpurpose
+   /refnamediv
+   refsect1
+titleBeschreibung/title
+ methodsynopsis
+  typestring/typemethodnamemysql_stat/methodname
+  methodparam 
+choice=opttyperesource/typeparameterlink_identifier/parameter/methodparam
+ /methodsynopsis
+para
+ functionmysql_stat/function liefert den momentanen Serverstatus zurück.
+/para
+note
+ para
+ functionmysql_stat/function liefert nur die Werte uptime,
+  threads, queries, open tables, flush tables and queries/sec. Für eine
+  komplette Liste der anderen Statusvariablen sollte der SQL-Befehl SHOW
+  STATUS verwendet werden.
+ /para
+/note
+para
+ example
+  titlefunctionmysql_stat/function Beispiel/title
+  programlisting role=php
+![CDATA[
+$link = mysql_connect('localhost', $user, secret);
+printf(%s\n, mysql_stat($link));
+]]
+  /programlisting
+  para
+   Das oben gezeigte Beispiel liefert die folgende Ausgabe:
+   screen
+![CDATA[
+Uptime: 5380  Threads: 1  Questions: 1321299  Slow queries: 1  Opens: 26 Flush 
+tables: 1  Open tables: 17  Queries per second avg: 245.595
+
+]]
+   /screen
+  /para
+ /example
 /para
/refsect1
   /refentry





[PHP-DOC] cvs: phpdoc /de/functions mysql.xml

2002-03-22 Thread Georg Richter

georg   Sat Mar 23 02:22:19 2002 EDT

  Modified files:  
/phpdoc/de/functionsmysql.xml 
  Log:
  
  changed return value for mysql_get_server_info
  
  
Index: phpdoc/de/functions/mysql.xml
diff -u phpdoc/de/functions/mysql.xml:1.39 phpdoc/de/functions/mysql.xml:1.40
--- phpdoc/de/functions/mysql.xml:1.39  Wed Feb 13 17:17:29 2002
+++ phpdoc/de/functions/mysql.xml   Sat Mar 23 02:22:18 2002
 -2197,7 +2197,7 
refsect1
 titleBeschreibung/title
  methodsynopsis
-  typeint/typemethodnamemysql_get_server_info/methodname
+  typestring/typemethodnamemysql_get_server_info/methodname
   methodparam 
choice=opttyperesource/typeparameterVerbindungs-Kennung/parameter/methodparam
  /methodsynopsis
 para 





[PHP-DOC] cvs: phpdoc /de/functions mysql.xml

2002-02-13 Thread Georg Richter

georg   Wed Feb 13 17:17:30 2002 EDT

  Modified files:  
/phpdoc/de/functionsmysql.xml 
  Log:
  
  a) inserted mysql_free_result in example
  b) changed mysql_query description
  
  
Index: phpdoc/de/functions/mysql.xml
diff -u phpdoc/de/functions/mysql.xml:1.38 phpdoc/de/functions/mysql.xml:1.39
--- phpdoc/de/functions/mysql.xml:1.38  Sat Feb  2 10:34:05 2002
+++ phpdoc/de/functions/mysql.xml   Wed Feb 13 17:17:29 2002
@@ -187,6 +187,9 @@
 }
 print /table\n;
 
+// Freigeben des Resultsets
+mysql_free_result($result);
+
 // schliessen der Verbinung
 mysql_close($link);
 ?
@@ -1425,6 +1428,7 @@
 echo $type. .$name. .$len. .$flags.BR;
 $i++;
 }
+mysql_free_result($result);
 mysql_close();
 
 ?
@@ -1869,7 +1873,8 @@
  /para
 /note
 para
- Nur für SELECT Anweisungen liefert functionmysql_query/function
+ Nur für SELECT,EXPAIN, SHOW oder DESCRIBE Anweisungen liefert
+ functionmysql_query/function 
  eine Ressourcen-Kennung oder false;, falls die Anfrage nicht korrekt 
  ausgeführt wurde. Für alle anderen SQL Anweisungen ist der Rückgabewert
  von functionmysql_query/function im Erfolgsfall true;, im Fehlerfall
@@ -1924,7 +1929,7 @@
  mit functionmysql_affected_rows/function feststellen.
 /para
 para
- Nur bei SELECT Anweisungen liefert functionmysql_query/function eine
+ Nur bei SELECT, EXPLAIN, SHOW oder DESCRIBE Anweisungen liefert 
+functionmysql_query/function eine
  neue Ergebnis-Kennung, die Sie an die Funktion
  functionmysql_fetch_array/function und andere Funktionen, die mit
  Ergebnistabellen umgehen können, übergeben können. Sind sie mit der





[PHP-DOC] cvs: phpdoc /de/functions mysql.xml

2001-08-29 Thread Stefan Saasen

stefan_saasen   Wed Aug 29 12:42:55 2001 EDT

  Modified files:  
/phpdoc/de/functionsmysql.xml 
  Log:
  fixed bug #12787 reported by [EMAIL PROTECTED]
  
Index: phpdoc/de/functions/mysql.xml
diff -u phpdoc/de/functions/mysql.xml:1.29 phpdoc/de/functions/mysql.xml:1.30
--- phpdoc/de/functions/mysql.xml:1.29  Thu Aug 16 16:33:36 2001
+++ phpdoc/de/functions/mysql.xml   Wed Aug 29 12:42:54 2001
@@ -536,7 +536,35 @@
 /para
/refsect1
   /refentry
-
+  
+  refentry id=function.mysql-escape-string
+   refnamediv
+refnamemysql_escape_string/refname 
+refpurpose
+ Maskiert einen String zur Benutzung in mysql_query.
+/refpurpose
+   /refnamediv
+   refsect1
+titleBeschreibung/title
+funcsynopsis
+ funcprototype
+  funcdefstring functionmysql_escape_string/function/funcdef
+  paramdefstring parameterunescaped_string/parameter/paramdef
+ /funcprototype
+/funcsynopsis
+para
+ Diese Funktion maskiert parameterunescaped_string/parameter 
+ zur sicheren Benutzung in functionmysql_query/function.
+/para
+note
+ simpara
+  literal%/literal und literal_/literal werden von 
+functionmysql_escape_string/function 
+  nicht maskiert.
+ /simpara
+/note
+   /refsect1
+  /refentry
+  
   refentry id=function.mysql-fetch-array
refnamediv
 refnamemysql_fetch_array/refname 





[PHP-DOC] cvs: phpdoc /de/functions mysql.xml

2001-08-16 Thread Mark Kronsbein

mk  Thu Aug 16 16:33:37 2001 EDT

  Modified files:  
/phpdoc/de/functionsmysql.xml 
  Log:
  note.gif gibts irgendwie nicht ;)
  
Index: phpdoc/de/functions/mysql.xml
diff -u phpdoc/de/functions/mysql.xml:1.28 phpdoc/de/functions/mysql.xml:1.29
--- phpdoc/de/functions/mysql.xml:1.28  Tue Jul 17 06:07:23 2001
+++ phpdoc/de/functions/mysql.xml   Thu Aug 16 16:33:36 2001
@@ -154,7 +154,6 @@
 /para
 note
  para
-  graphic fileref=../images/note.gif/
   Diese Funktion wurde mit PHP 3.0.13 eingeführt und erfordert
   MySQL 3.23.3 oder höher.  
  /para
@@ -185,7 +184,6 @@
  wird die aktuelle Verbindung geschlossen.
 /para
 note
- graphic fileref=../images/note.gif/
  para 
   Dies ist für gewöhnlich nicht notwendig, weil nichtpersistente
   offene Verbindungen automatisch mit Beendigung des PHP-Skripts





Re: [PHP-DOC] cvs: phpdoc /de/functions mysql.xml

2001-08-16 Thread eschmid+sic

On Thu, Aug 16, 2001 at 08:33:37PM -, Mark Kronsbein wrote:
 mkThu Aug 16 16:33:37 2001 EDT
 
   Modified files:  
 /phpdoc/de/functions  mysql.xml 
   Log:
   note.gif gibts irgendwie nicht ;)

They are in phpdoc/images and since the German PHP manual is in phpdoc/de
it couldn't be found. Jouni have found this problem today. I got no
errors because I have a local copy in phpdoc/de/images.

-Egon
   
 Index: phpdoc/de/functions/mysql.xml
 diff -u phpdoc/de/functions/mysql.xml:1.28 phpdoc/de/functions/mysql.xml:1.29
 --- phpdoc/de/functions/mysql.xml:1.28Tue Jul 17 06:07:23 2001
 +++ phpdoc/de/functions/mysql.xml Thu Aug 16 16:33:36 2001
 @@ -154,7 +154,6 @@
  /para
  note
   para
 -  graphic fileref=../images/note.gif/
Diese Funktion wurde mit PHP 3.0.13 eingeführt und erfordert
MySQL 3.23.3 oder höher.  
   /para
 @@ -185,7 +184,6 @@
   wird die aktuelle Verbindung geschlossen.
  /para
  note
 - graphic fileref=../images/note.gif/
   para 
Dies ist für gewöhnlich nicht notwendig, weil nichtpersistente
offene Verbindungen automatisch mit Beendigung des PHP-Skripts
 
 

-- 
-- 
All known books about PHP and related books: http://php.net/books.php 
Concert Band of the University of Hohenheim: http://www.concert-band.de/
First and second bestselling book in German: http://www.php-buch.de/



Re: [PHP-DOC] cvs: phpdoc /de/functions mysql.xml

2001-08-16 Thread Mark Kronsbein


 They are in phpdoc/images and since the German PHP manual is in phpdoc/de
 it couldn't be found. Jouni have found this problem today. I got no
 errors because I have a local copy in phpdoc/de/images.

Okay, but there is no manual/images/ on php.net (yet). So I just wanted
to get rid of these 404 ;)

Mark   




Re: [PHP-DOC] cvs: phpdoc /de/functions mysql.xml

2001-08-16 Thread eschmid+sic

On Thu, Aug 16, 2001 at 11:24:19PM +0200, Mark Kronsbein wrote:
 
  They are in phpdoc/images and since the German PHP manual is in phpdoc/de
  it couldn't be found. Jouni have found this problem today. I got no
  errors because I have a local copy in phpdoc/de/images.
 
 Okay, but there is no manual/images/ on php.net (yet). So I just wanted
 to get rid of these 404 ;)

I know that, so I deleted the other grapics also. If there is a new
decision about the layout of the online manuals, we can start again a new
experiment.

-Egon

-- 
All known books about PHP and related books: http://php.net/books.php 
Concert Band of the University of Hohenheim: http://www.concert-band.de/
First and second bestselling book in German: http://www.php-buch.de/



[PHP-DOC] cvs: phpdoc /de/functions mysql.xml

2001-05-12 Thread Sebastian Bergmann

sbergmann   Fri May 11 23:19:57 2001 EDT

  Modified files:  
/phpdoc/de/functionsmysql.xml 
  Log:
  Added documentation for mysql_unbuffered_query().
  
Index: phpdoc/de/functions/mysql.xml
diff -u phpdoc/de/functions/mysql.xml:1.23 phpdoc/de/functions/mysql.xml:1.24
--- phpdoc/de/functions/mysql.xml:1.23  Sat Apr 28 12:08:16 2001
+++ phpdoc/de/functions/mysql.xml   Fri May 11 23:19:57 2001
@@ -1435,6 +1435,51 @@
/refsect1
   /refentry
 
+  refentry id=function.mysql-unbuffered-query
+   refnamediv
+refnamemysql_unbuffered_query/refname
+refpurposeSendet eine SQL Anfrage zum Datenbankserver, ohne dass die 
+Ergebniszeilen gepuffert werden/refpurpose
+   /refnamediv
+   refsect1
+titleBeschreibung/title
+funcsynopsis
+ funcprototype
+  funcdefint functionmysql_unbuffered_query/function/funcdef
+  paramdefstring parameterquery/parameter/paramdef
+  paramdefint 
+   parameteroptionallink_identifier/optional/parameter
+  /paramdef
+  paramdefint 
+   parameteroptionalresult_mode/optional/parameter
+  /paramdef
+ /funcprototype
+/funcsynopsis
+para 
+ functionmysql_unbuffered_query/function sendet eine SQL Anfrage zum 
+ Datenbankserver, ohne dass die Ergebniszeilen gepuffert werden, wie es 
+ bei der Verwendung von functionmysql_query/function der Fall ist.
+ 
+ Dies spart zum einen Speicher bei Anfragen, die viele Ergebniszeilen 
+ liefern. Andererseits kann auf dem Ergebnis der Datenbankabfrage direkt 
+ gearbeitet werden, sobald die erste Zeile gefunden wurde - es muss also 
+ nicht auf das Ende der Abfrage gewartet werden.
+/para
+note
+ para
+  Die Vorteile von functionmysql_unbuffered_query/function kommen nicht 
+  ohne Preis: Auf einem von functionmysql_unbuffered_query/function 
+  generierten Ergebnis kann die Funktion functionmysql_num_rows/function 
+  nicht benutzt werden. Ferner muss dafür Sorge getragen werden, dass alle 
+  Ergebniszeilen von der Datenbank geholt werden, bevor eine neue SQL 
+  Anfrage gestellt wird.
+ /para
+/note
+para
+ Siehe auch: functionmysql_query/function.
+/para
+   /refsect1
+  /refentry
+
   refentry id=function.mysql-result
refnamediv
 refnamemysql_result/refname





[PHP-DOC] cvs: phpdoc /de/functions mysql.xml

2001-04-28 Thread Derick Rethans

derick  Sat Apr 28 12:08:17 2001 EDT

  Modified files:  
/phpdoc/de/functionsmysql.xml 
  Log:
  - Fix for bug #10474
  
  
Index: phpdoc/de/functions/mysql.xml
diff -u phpdoc/de/functions/mysql.xml:1.22 phpdoc/de/functions/mysql.xml:1.23
--- phpdoc/de/functions/mysql.xml:1.22  Sat Nov 25 02:31:32 2000
+++ phpdoc/de/functions/mysql.xml   Sat Apr 28 12:08:16 2001
@@ -720,18 +720,18 @@
 echo No information availablelt;BR\n;
 }
 echo lt;PRE
-blob: $meta - blob
-max_length:   $meta - max_length
-multiple_key: $meta - multiple_key
-name: $meta - name
-not_null: $meta - not_null
-numeric:  $meta - numeric
-primary_key:  $meta - primary_key
-table:$meta - table
-type: $meta - type
-unique_key:   $meta - unique_key
-unsigned: $meta - unsigned
-zerofill: $meta - zerofill
+blob: $meta-blob
+max_length:   $meta-max_length
+multiple_key: $meta-multiple_key
+name: $meta-name
+not_null: $meta-not_null
+numeric:  $meta-numeric
+primary_key:  $meta-primary_key
+table:$meta-table
+type: $meta-type
+unique_key:   $meta-unique_key
+unsigned: $meta-unsigned
+zerofill: $meta-zerofill
 lt;/PRE;
 $i++;
 }