Return value

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@187308 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jakub Vrana 2005-05-30 10:23:26 +00:00
parent 0c6bee02b0
commit 2b4e86c3dc

View file

@ -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>