vrana           Mon May 30 06:23:27 2005 EDT

  Modified files:              
    /phpdoc/en/reference/mysqli/functions       mysqli-rpl-query-type.xml 
  Log:
  Return value
  
http://cvs.php.net/diff.php/phpdoc/en/reference/mysqli/functions/mysqli-rpl-query-type.xml?r1=1.7&r2=1.8&ty=u
Index: phpdoc/en/reference/mysqli/functions/mysqli-rpl-query-type.xml
diff -u phpdoc/en/reference/mysqli/functions/mysqli-rpl-query-type.xml:1.7 
phpdoc/en/reference/mysqli/functions/mysqli-rpl-query-type.xml:1.8
--- phpdoc/en/reference/mysqli/functions/mysqli-rpl-query-type.xml:1.7  Fri Nov 
19 06:09:56 2004
+++ phpdoc/en/reference/mysqli/functions/mysqli-rpl-query-type.xml      Mon May 
30 06:23:26 2005
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
   <refentry id="function.mysqli-rpl-query-type">
    <refnamediv>
     <refname>mysqli_rpl_query_type</refname>
@@ -23,6 +23,16 @@
      </methodsynopsis>
     </classsynopsis>
 
+    <para>
+     Returns <constant>MYSQLI_RPL_MASTER</constant>,
+     <constant>MYSQLI_RPL_SLAVE</constant> or
+     <constant>MYSQLI_RPL_ADMIN</constant> depending on a query type.
+     <literal>INSERT</literal>, <literal>UPDATE</literal> and similar are
+     <emphasis>master</emphasis> queries, <literal>SELECT</literal> is
+     <emphasis>slave</emphasis>, and <literal>FLUSH</literal>,
+     <literal>REPAIR</literal> and similar are <emphasis>admin</emphasis>.
+    </para>
+
     &warn.experimental.func;
 
    </refsect1>

Reply via email to