Skip to content

Commit

Permalink
Address review comments
Browse files Browse the repository at this point in the history
Add a note on which functions use the expired password constants.
Remove MYSQLI_SET_CHARSET_DIR, MYSQLI_SERVER_QUERY_NO_GOOD_INDEX_USED, MYSQLI_SERVER_QUERY_NO_INDEX_USED, MYSQLI_SERVER_QUERY_WAS_SLOW, MYSQLI_SERVER_PS_OUT_PARAMS, MYSQLI_DATA_TRUNCATED and MYSQLI_NO_DATA.
  • Loading branch information
haszi committed Jul 8, 2024
1 parent 2d30ae1 commit aa785f3
Showing 1 changed file with 5 additions and 77 deletions.
82 changes: 5 additions & 77 deletions reference/mysqli/constants.xml
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@
<simpara>
Indicates to the server that the client can handle sandbox mode
for expired passwords.
Can be used with <function>mysqli_options</function>.
</simpara>
</listitem>
</varlistentry>
Expand Down Expand Up @@ -150,6 +151,7 @@
<simpara>
Indicates to the server that the client can handle sandbox mode
for expired passwords.
Can be used with <function>mysqli_real_connect</function>.
</simpara>
</listitem>
</varlistentry>
Expand Down Expand Up @@ -261,7 +263,9 @@
</term>
<listitem>
<simpara>
Copy results from the internal <literal>mysqlnd</literal> buffer
As of PHP 8.1, this constants no longer has any effect.
Before PHP 8.1, this constant is used to copy results
from the internal <literal>mysqlnd</literal> buffer
into the PHP variables fetched.
By default, <literal>mysqlnd</literal> will use a reference logic
to avoid copying and duplicating results held in memory.
Expand Down Expand Up @@ -804,28 +808,6 @@
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.mysqli-no-data">
<term>
<constant>MYSQLI_NO_DATA</constant>
(<type>int</type>)
</term>
<listitem>
<para>
No more data available for bind variable
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.mysqli-data-truncated">
<term>
<constant>MYSQLI_DATA_TRUNCATED</constant>
(<type>int</type>)
</term>
<listitem>
<para>
Data truncation occurred. Available since MySQL 5.0.5.
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.mysqli-enum-flag">
<term>
<constant>MYSQLI_ENUM_FLAG</constant>
Expand Down Expand Up @@ -928,17 +910,6 @@
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.mysqli-set-charset-dir">
<term>
<constant>MYSQLI_SET_CHARSET_DIR</constant>
(<type>int</type>)
</term>
<listitem>
<simpara>
The path name to the directory that contains character set definition files.
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.mysqli-report-index">
<term>
<constant>MYSQLI_REPORT_INDEX</constant>
Expand Down Expand Up @@ -1005,26 +976,6 @@
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.mysqli-server-query-no-good-index-used">
<term>
<constant>MYSQLI_SERVER_QUERY_NO_GOOD_INDEX_USED</constant>
(<type>int</type>)
</term>
<listitem>
<para>
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.mysqli-server-query-no-index-used">
<term>
<constant>MYSQLI_SERVER_QUERY_NO_INDEX_USED</constant>
(<type>int</type>)
</term>
<listitem>
<para>
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.mysqli-server-public-key">
<term>
<constant>MYSQLI_SERVER_PUBLIC_KEY</constant>
Expand All @@ -1035,29 +986,6 @@
</para>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.mysqli-server-ps-out_params">
<term>
<constant>MYSQLI_SERVER_PS_OUT_PARAMS</constant>
(<type>int</type>)
</term>
<listitem>
<simpara>
Mark resultset containing output parameter values.
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.mysqli-server-query-was_slow">
<term>
<constant>MYSQLI_SERVER_QUERY_WAS_SLOW</constant>
(<type>int</type>)
</term>
<listitem>
<simpara>
Last statement took more than the time value specified
in server variable <literal>long_query_time</literal>.
</simpara>
</listitem>
</varlistentry>
<varlistentry xml:id="constant.mysqli-refresh-grant">
<term>
<constant>MYSQLI_REFRESH_GRANT</constant>
Expand Down

0 comments on commit aa785f3

Please sign in to comment.