Primarily changing links to refer to 1.1.0 materials instead of the 1.0.0 ones.

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@317397 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Ulf Wendel 2011-09-27 14:22:12 +00:00
parent 55aa04cff2
commit 2618ebf469
6 changed files with 39 additions and 27 deletions

View file

@ -161,7 +161,7 @@
statements, are considered as write requests to be sent to the MySQL master server.
The build-in behaviour can be overruled using
<link linkend="mysqlnd-ms.constants">SQL hints</link> or an user-defined
<link linkend="function.mysqlnd-ms-set-user-pick-server">callback function</link>.
<link linkend="ini.mysqlnd-ms-plugin-config-v2.filter_user">callback function</link>.
</para>
<para>
The read/write splitter is not aware of multi-statements. Multi-statements

View file

@ -45,13 +45,15 @@
<itemizedlist>
<listitem>
<para>
Added the (chainable) filter concept:
Added the (chainable) <link linkend="mysqlnd-ms.filter">filter concept</link>:
<itemizedlist>
<listitem>
<simpara>
BC break: <function>mysqlnd_ms_set_user_pick_server</function>
has been removed.
The <literal>user</literal> filter has been introduced to replace it.
BC break:
<link linkend="function.mysqlnd-ms-set-user-pick-server"><function>mysqlnd_ms_set_user_pick_server</function></link>
has been removed. The
<link linkend="mysqlnd-ms.filter"><literal>user</literal></link>
filter has been introduced to replace it.
The filter offers almost the same functionality, see below for a
discussion of differences.
</simpara>
@ -66,7 +68,8 @@
</listitem>
<listitem>
<simpara>
Lazy connections improved: security relevant, state changing commands covered.
<link linkend="mysqlnd-ms.pooling">Lazy connections improved</link>:
security relevant, state changing commands covered.
</simpara>
</listitem>
<listitem>

View file

@ -229,7 +229,7 @@
<entry>
Number of successfully opened slave connections from
configurations not using
<literal><link linkend="ini.mysqlnd-ms-plugin-config.lazy_connections">lazy connections</link></literal>.
<literal><link linkend="ini.mysqlnd-ms-plugin-config-v2.lazy_connections">lazy connections</link></literal>.
The total number of successfully opened slave connections
is <literal>non_lazy_connections_slave_success</literal> +
<literal>lazy_connections_slave_success</literal>
@ -243,7 +243,7 @@
<entry>
Number of failed slave connection attempts from
configurations not using
<literal><link linkend="ini.mysqlnd-ms-plugin-config.lazy_connections">lazy connections</link></literal>.
<literal><link linkend="ini.mysqlnd-ms-plugin-config-v2.lazy_connections">lazy connections</link></literal>.
The total number of failed slave connection attempts
is <literal>non_lazy_connections_slave_failure</literal> +
<literal>lazy_connections_slave_failure</literal>
@ -257,7 +257,7 @@
<entry>
Number of successfully opened master connections from
configurations not using
<literal><link linkend="ini.mysqlnd-ms-plugin-config.lazy_connections">lazy connections</link></literal>.
<literal><link linkend="ini.mysqlnd-ms-plugin-config-v2.lazy_connections">lazy connections</link></literal>.
The total number of successfully opened master connections
is <literal>non_lazy_connections_master_success</literal> +
<literal>lazy_connections_master_success</literal>
@ -271,7 +271,7 @@
<entry>
Number of failed master connection attempts from
configurations not using
<literal><link linkend="ini.mysqlnd-ms-plugin-config.lazy_connections">lazy connections</link></literal>.
<literal><link linkend="ini.mysqlnd-ms-plugin-config-v2.lazy_connections">lazy connections</link></literal>.
The total number of failed master connection attempts
is <literal>non_lazy_connections_master_failure</literal> +
<literal>lazy_connections_master_failure</literal>
@ -285,7 +285,7 @@
<entry>
Number of successfully opened slave connections from
configurations using
<literal><link linkend="ini.mysqlnd-ms-plugin-config.lazy_connections">lazy connections</link></literal>.
<literal><link linkend="ini.mysqlnd-ms-plugin-config-v2.lazy_connections">lazy connections</link></literal>.
</entry>
<entry>Since 1.0.0.</entry>
</row>
@ -296,7 +296,7 @@
<entry>
Number of failed slave connection attempts from
configurations using
<literal><link linkend="ini.mysqlnd-ms-plugin-config.lazy_connections">lazy connections</link></literal>.
<literal><link linkend="ini.mysqlnd-ms-plugin-config-v2.lazy_connections">lazy connections</link></literal>.
</entry>
<entry>Since 1.0.0.</entry>
</row>
@ -307,7 +307,7 @@
<entry>
Number of successfully opened master connections from
configurations using
<literal><link linkend="ini.mysqlnd-ms-plugin-config.lazy_connections">lazy connections</link></literal>.
<literal><link linkend="ini.mysqlnd-ms-plugin-config-v2.lazy_connections">lazy connections</link></literal>.
</entry>
<entry>Since 1.0.0.</entry>
</row>
@ -318,7 +318,7 @@
<entry>
Number of failed master connection attempts from
configurations using
<literal><link linkend="ini.mysqlnd-ms-plugin-config.lazy_connections">lazy connections</link></literal>.
<literal><link linkend="ini.mysqlnd-ms-plugin-config-v2.lazy_connections">lazy connections</link></literal>.
</entry>
<entry>Since 1.0.0.</entry>
</row>
@ -330,11 +330,11 @@
Number of <literal>autocommit</literal> mode activations via API calls.
This figure may be used to monitor activity related to the plugin configuration
setting
<link linkend="ini.mysqlnd-ms-plugin-config.trx_stickiness"><literal>trx_stickiness</literal></link>.
<link linkend="ini.mysqlnd-ms-plugin-config-v2.trx_stickiness"><literal>trx_stickiness</literal></link>.
If, for example, you want to know if a certain API call invokes the
<literal>mysqlnd</literal> library function <literal>trx_autocommit()</literal>,
which is a requirement for
<link linkend="ini.mysqlnd-ms-plugin-config.trx_stickiness"><literal>trx_stickiness</literal></link>,
<link linkend="ini.mysqlnd-ms-plugin-config-v2.trx_stickiness"><literal>trx_stickiness</literal></link>,
you may call the user API function in question and check if the
statistic has changed. The statistic is modified only by the
plugins internal subclassed <literal>trx_autocommit()</literal>
@ -357,7 +357,7 @@
</entry>
<entry>
Number of statemens redirected to the master while
<link linkend="ini.mysqlnd-ms-plugin-config.trx_stickiness"><literal>trx_stickiness=master</literal></link>
<link linkend="ini.mysqlnd-ms-plugin-config-v2.trx_stickiness"><literal>trx_stickiness=master</literal></link>
and <literal>autocommit</literal> mode is disabled.
</entry>
<entry>Since 1.0.0.</entry>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision: 311948 $ -->
<!-- $Revision: 311948 $ -->
<refentry xml:id="function.mysqlnd-ms-match-wild" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
@ -20,7 +20,7 @@
</para>
<para>
This function is not of much practical relevance with PECL mysqlnd_ms 1.1.0
because the plugin does not support MySQL replication table filtering yet.
because the plugin does not support MySQL replication table filtering yet.
</para>
</refsect1>
@ -41,7 +41,7 @@
<para>
The wildcard pattern to check against the table name.
The wildcard pattern supports the same placeholders as
MySQL Replication filters do.
MySQL replication filters do.
</para>
<para>
MySQL replication filters
@ -82,7 +82,7 @@
Otherwise, returns <literal>FALSE</literal>
</para>
</refsect1>
<refsect1 role="examples">
&reftitle.examples;
<para>

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- $Revision$ -->
<refentry xml:id="function.mysqlnd-ms-query-is-select" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
@ -111,10 +111,13 @@ SELECT 1 FROM DUAL should be run on a slave.
<member>
<link linkend="mysqlnd-ms.constants">Predefined Constants</link>
</member>
<member>
<link linkend="ini.mysqlnd-ms-plugin-config-v2.filter_user"><literal>user</literal></link> filter
</member>
</simplelist>
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- $Revision$ -->
<!-- $Revision$ -->
<refentry xml:id="function.mysqlnd-ms-set-user-pick-server" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
<refnamediv>
@ -205,18 +205,24 @@ User has connected to 'myapp'...
</example>
</para>
</refsect1>
<refsect1 role="seealso">
&reftitle.seealso;
<para>
<simplelist>
<member>
<function>mysqlnd_ms_query_is_select</function>
</member>
</member>
<member>
<link linkend="mysqlnd-ms.filter">Filter concept</link>
</member>
<member>
<link linkend="ini.mysqlnd-ms-plugin-config-v2.filter_user"><literal>user</literal></link> filter
</member>
</simplelist>
</para>
</refsect1>
</refentry>
<!-- Keep this comment at the end of the file