Skip to content

Commit 1fc24c0

Browse files
committed
Fix grammar and typos in mysqli documentation.
1 parent ad2fa5c commit 1fc24c0

36 files changed

Lines changed: 68 additions & 69 deletions

appendices/migration83/other-changes.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@
266266
<function>mysqli_fetch_object</function> now raises a
267267
<classname>ValueError</classname> instead of an <classname>Exception</classname>
268268
when the <parameter>constructor_args</parameter> argument is non empty with
269-
the class not having constructor.
269+
the class not having a constructor.
270270
</simpara>
271271

272272
<simpara>
@@ -300,7 +300,7 @@
300300
<function>pg_fetch_object</function> now raises a
301301
<classname>ValueError</classname> instead of an <classname>Exception</classname>
302302
when the <parameter>constructor_args</parameter> argument is non empty with
303-
the class not having constructor.
303+
the class not having a constructor.
304304
</simpara>
305305

306306
<para>

reference/mysqli/book.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@
3030
</para>
3131

3232
<para>
33-
Parts of this documentation included from MySQL manual with
34-
permissions of Oracle Corporation.
33+
Parts of this documentation were included from the MySQL manual with
34+
permission of Oracle Corporation.
3535
</para>
3636

3737
<para>

reference/mysqli/configure.xml

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,8 @@
3636
</para>
3737

3838
<para>
39-
The MySQL Native Driver is the recommended client library option, as it
39+
The MySQL Native Driver is the recommended client library option,
40+
and as of PHP 8.2.0 the only option, as it
4041
results in improved performance and gives access to features not
4142
available when using the MySQL Client Library. Refer to
4243
<link linkend="mysqli.overview.mysqlnd">What is PHP's MySQL Native
@@ -64,7 +65,14 @@
6465
</thead>
6566
<tbody>
6667
<row>
67-
<entry>5.4.x and above</entry>
68+
<entry>8.2.0 and later</entry>
69+
<entry>mysqlnd</entry>
70+
<entry><option role="configure">--with-mysqli</option></entry>
71+
<entry>libmysqlclient is not supported</entry>
72+
<entry>mysqlnd is the only option</entry>
73+
</row>
74+
<row>
75+
<entry>5.4.0 through 8.1.x</entry>
6876
<entry>mysqlnd</entry>
6977
<entry><option role="configure">--with-mysqli</option></entry>
7078
<entry><option role="configure">--with-mysqli=/path/to/mysql_config</option></entry>
@@ -88,15 +96,6 @@
8896
</tgroup>
8997
</table>
9098

91-
<para>
92-
Note that it is possible to freely mix MySQL extensions and client
93-
libraries. For example, it is possible to enable the MySQL extension
94-
to use the MySQL Client Library (libmysqlclient), while configuring the
95-
<literal>mysqli</literal> extension to use the MySQL Native Driver.
96-
However, all permutations of extension and client library are
97-
possible.
98-
</para>
99-
10099
</section>
101100

102101
<section xml:id="mysqli.installation.windows">

reference/mysqli/constants.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -449,7 +449,7 @@
449449
</term>
450450
<listitem>
451451
<para>
452-
Field is part of an multi-index.
452+
Field is part of a multi-index.
453453
</para>
454454
</listitem>
455455
</varlistentry>

reference/mysqli/ini.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
</term>
149149
<listitem>
150150
<para>
151-
Maximum of persistent connections that can be made. Set to
151+
The maximum number of persistent connections that can be made. Set to
152152
0 for unlimited.
153153
</para>
154154
</listitem>
@@ -160,7 +160,7 @@
160160
</term>
161161
<listitem>
162162
<para>
163-
The maximum number of MySQL connections per process.
163+
The maximum number of connections per process.
164164
</para>
165165
</listitem>
166166
</varlistentry>

reference/mysqli/mysqli/change-user.xml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@
3232
not disconnect the current connection if the new connection cannot be opened.
3333
</para>
3434
<para>
35-
In order to successfully change users a valid <parameter>username</parameter> and
36-
<parameter>password</parameter> parameters must be provided and that user must have
35+
In order to successfully change users, a valid <parameter>username</parameter> and
36+
<parameter>password</parameter> must be provided, and that user must have
3737
sufficient permissions to access the desired database. If for any reason authorization
3838
fails, the current user authentication will remain.
3939
</para>
@@ -174,7 +174,7 @@ Default database:
174174
<note>
175175
<para>
176176
Using this command will always cause the current database connection to
177-
behave as if was a completely new database connection, regardless of if
177+
behave as if it was a completely new database connection, regardless of if
178178
the operation was completed successfully. This reset includes performing
179179
a rollback on any active transactions, closing all temporary tables, and
180180
unlocking all locked tables.

reference/mysqli/mysqli/dump-debug-info.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
<methodparam><type>mysqli</type><parameter>mysql</parameter></methodparam>
2121
</methodsynopsis>
2222
<para>
23-
This function is designed to be executed by an user with the SUPER
23+
This function is designed to be executed by a user with the SUPER
2424
privilege and is used to dump debugging information into the log for the
2525
MySQL Server relating to the connection.
2626
</para>

reference/mysqli/mysqli/errno.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,8 @@
3434
<refsect1 role="returnvalues">
3535
&reftitle.returnvalues;
3636
<para>
37-
An error code value for the last call, if it failed. zero means no error
38-
occurred.
37+
An error code value for the last call, if it failed.
38+
<literal>0</literal> means no error occurred.
3939
</para>
4040
</refsect1>
4141

reference/mysqli/mysqli/init.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,9 @@
2626
</para>
2727
<note>
2828
<para>
29-
Any subsequent calls to any mysqli function (except <function>mysqli_options</function>
29+
Any subsequent call to any mysqli function (except <function>mysqli_options</function>
3030
and <function>mysqli_ssl_set</function>)
31-
will fail until <function>mysqli_real_connect</function> was called.
31+
will fail until <function>mysqli_real_connect</function> is called.
3232
</para>
3333
</note>
3434
</refsect1>

reference/mysqli/mysqli/multi-query.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
Queries are sent in a single call to the database and processed sequentially.
2929
<methodname>mysqli_multi_query</methodname> waits for the first query to
3030
complete before returning control to PHP. In the meantime, the MySQL server
31-
will continue processing the remaining queries asynchronously of PHP and make
31+
will continue processing the remaining queries asynchronously from PHP and make
3232
the results available for fetching.
3333
</para>
3434
<para>

0 commit comments

Comments
 (0)