Add mysqli::debug() options parameters from comment

As per https://www.php.net/manual/en/mysqli.debug.php#122219

Co-authored-by: Christoph M. Becker <cmbecker69@gmx.de>

Closes GH-1079.
This commit is contained in:
Sebastian Hädrich 2021-11-10 15:46:18 +01:00 committed by GitHub
parent 62739864aa
commit 933c299ca9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,6 +34,71 @@
<para>
A string representing the debugging operation to perform
</para>
<para>
The debug control string is a sequence of colon separated fields as follows:
<literal><![CDATA[<field_1>:<field_2>:<field_N>]]></literal>
Each field consists of a mandatory flag character followed by an optional <literal>,</literal> and comma separated list of modifiers:
<literal>flag[,modifier,modifier,...,modifier]</literal>
</para>
<para>
<table>
<title>Recognized Flag Characters</title>
<tgroup cols="2">
<thead>
<row>
<entry><parameter>option</parameter> character</entry>
<entry>Description</entry>
</row>
</thead>
<tbody>
<row>
<entry>O</entry>
<entry><constant>MYSQLND_DEBUG_FLUSH</constant></entry>
</row>
<row>
<entry>A/a</entry>
<entry><constant>MYSQLND_DEBUG_APPEND</constant></entry>
</row>
<row>
<entry>F</entry>
<entry><constant>MYSQLND_DEBUG_DUMP_FILE</constant></entry>
</row>
<row>
<entry>i</entry>
<entry><constant>MYSQLND_DEBUG_DUMP_PID</constant></entry>
</row>
<row>
<entry>L</entry>
<entry><constant>MYSQLND_DEBUG_DUMP_LINE</constant></entry>
</row>
<row>
<entry>m</entry>
<entry><constant>MYSQLND_DEBUG_TRACE_MEMORY_CALLS</constant></entry>
</row>
<row>
<entry>n</entry>
<entry><constant>MYSQLND_DEBUG_DUMP_LEVEL</constant></entry>
</row>
<row>
<entry>o</entry>
<entry>output to file</entry>
</row>
<row>
<entry>T</entry>
<entry><constant>MYSQLND_DEBUG_DUMP_TIME</constant></entry>
</row>
<row>
<entry>t</entry>
<entry><constant>MYSQLND_DEBUG_DUMP_TRACE</constant></entry>
</row>
<row>
<entry>x</entry>
<entry><constant>MYSQLND_DEBUG_PROFILE_CALLS</constant></entry>
</row>
</tbody>
</tgroup>
</table>
</para>
</listitem>
</varlistentry>
</variablelist>