MYSQLI_ASYNC

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@273076 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Jakub Vrana 2009-01-08 15:10:22 +00:00
parent d33f706748
commit ef5679d743

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.2 $ -->
<!-- $Revision: 1.3 $ -->
<refentry xml:id="mysqli.query" xmlns="http://docbook.org/ns/docbook">
<refnamediv>
<refname>mysqli::query</refname>
@ -59,6 +59,12 @@
will return error <literal>Commands out of sync</literal> unless you
call <function>mysqli_free_result</function>
</para>
<para>
With <constant>MYSQLI_ASYNC</constant> (available with mysqlnd), it is
possible to perform query asynchronously.
<function>mysqli_poll</function> is then used to get results from such
queries.
</para>
</listitem>
</varlistentry>
</variablelist>
@ -74,6 +80,30 @@
</para>
</refsect1>
<refsect1 role="changelog">
&reftitle.changelog;
<para>
<informaltable>
<tgroup cols="2">
<thead>
<row>
<entry>&Version;</entry>
<entry>&Description;</entry>
</row>
</thead>
<tbody>
<row>
<entry>5.3.0</entry>
<entry>
Added the ability of async queries.
</entry>
</row>
</tbody>
</tgroup>
</informaltable>
</para>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
<example>