svn: /phpdoc/en/trunk/reference/mysqlnd_ms/ concepts.xml
| From: | Ulf Wendel | Date: | Fri, 23 Sep 2011 14:51:15 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/mysqlnd_ms/ concepts.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-8856@lists.php.net to get a copy of this message | ||
uw Fri, 23 Sep 2011 14:51:15 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=317204
Log:
Minor change, aligning syntax/spelling.
Changed paths:
U phpdoc/en/trunk/reference/mysqlnd_ms/concepts.xml
Modified: phpdoc/en/trunk/reference/mysqlnd_ms/concepts.xml
===================================================================
--- phpdoc/en/trunk/reference/mysqlnd_ms/concepts.xml 2011-09-23 14:34:41 UTC (rev 317203)
+++ phpdoc/en/trunk/reference/mysqlnd_ms/concepts.xml 2011-09-23 14:51:15 UTC (rev 317204)
@@ -165,10 +165,10 @@
<tbody>
<row>
<entry>
- <literal>change_user</literal>
+ <literal>change_user()</literal>
</entry>
<entry>
- Called by the <literal>mysqli_change_user</literal> user API call.
+ Called by the <function>mysqli_change_user</function> user API call.
Also triggered upon reuse of a persistent <literal>mysqli</literal>
connection.
</entry>
@@ -190,7 +190,7 @@
</row>
<row>
<entry>
- <literal>set_charset</literal>
+ <literal>set_charset()</literal>
</entry>
<entry>
Called by the following user API calls:
@@ -201,7 +201,7 @@
</row>
<row>
<entry>
- <literal>set_server_option</literal>
+ <literal>set_server_option()</literal>
</entry>
<entry>
Called by the following user API calls:
@@ -214,7 +214,7 @@
</row>
<row>
<entry>
- <literal>set_client_option</literal>
+ <literal>set_client_option()</literal>
</entry>
<entry>
Called by the following user API calls:
@@ -228,7 +228,7 @@
</row>
<row>
<entry>
- <literal>set_autocommit</literal>
+ <literal>set_autocommit()</literal>
</entry>
<entry>
Called by the following user API calls:
@@ -239,7 +239,7 @@
</row>
<row>
<entry>
- <literal>ssl_set</literal>
+ <literal>ssl_set()</literal>
</entry>
<entry>
Called by the following user API calls:
@@ -290,7 +290,7 @@
<tbody>
<row>
<entry>
- <literal>change_user</literal>
+ <literal>change_user()</literal>
</entry>
<entry>
User, password and database recorded for future use.
@@ -308,7 +308,7 @@
</row>
<row>
<entry>
- <literal>set_charset</literal>
+ <literal>set_charset()</literal>
</entry>
<entry>
Calls <literal>set_client_option(MYSQL_SET_CHARSET_NAME, charset)</literal>
@@ -319,7 +319,7 @@
</row>
<row>
<entry>
- <literal>set_autocommit</literal>
+ <literal>set_autocommit()</literal>
</entry>
<entry>
Adds <literal>SET AUTOCOMMIT=0|1</literal> to the list of init commands
@@ -360,14 +360,17 @@
<para>
The latest version of the <literal>mysqlnd</literal> library, as found in
PHP 5.4.0, allows the plugin to subclass the library C API call
- <literal>trx_autocommit()</literal> to
+ <literal>set_autocommit()</literal> to
detect the status of the <literal>autocommit</literal> mode. The PHP MySQL
extensions either issue a query such as <literal>SET AUTOCOMMIT=0|1</literal>
- or use the mysqlnd library call <literal>trx_autcommit()</literal> to control
+ or use the mysqlnd library call <literal>set_autcommit()</literal> to control
the <literal>autocommit</literal> setting. If an extension makes use of
- <literal>trx_autocommit()</literal>, the plugin can be made transaction aware.
+ <literal>set_autocommit()</literal>, the plugin can be made transaction aware.
Transaction awareness cannot be achieved, if using SQL to set the autocommit
- mode.
+ mode.
+ The library function <literal>set_autocommit()</literal> is called by the
+ <function>mysqli_autocommit</function> and
+ <function>PDO::setAttribute(PDO::ATTR_AUTOCOMMIT)</function> user API calls.
</para>
<para>
The experimental pluging configuration option