From 2618ebf469b27cb32f2795a95968c78e22cbe6b4 Mon Sep 17 00:00:00 2001 From: Ulf Wendel Date: Tue, 27 Sep 2011 14:22:12 +0000 Subject: [PATCH] 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 --- reference/mysqlnd_ms/book.xml | 2 +- reference/mysqlnd_ms/changes.xml | 13 ++++++----- .../functions/mysqlnd-ms-get-stats.xml | 22 +++++++++---------- .../functions/mysqlnd-ms-match-wild.xml | 8 +++---- .../functions/mysqlnd-ms-query-is-select.xml | 7 ++++-- .../mysqlnd-ms-set-user-pick-server.xml | 14 ++++++++---- 6 files changed, 39 insertions(+), 27 deletions(-) diff --git a/reference/mysqlnd_ms/book.xml b/reference/mysqlnd_ms/book.xml index d134330286..8279de2073 100755 --- a/reference/mysqlnd_ms/book.xml +++ b/reference/mysqlnd_ms/book.xml @@ -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 SQL hints or an user-defined - callback function. + callback function. The read/write splitter is not aware of multi-statements. Multi-statements diff --git a/reference/mysqlnd_ms/changes.xml b/reference/mysqlnd_ms/changes.xml index dd83e6d139..f247ef69b8 100644 --- a/reference/mysqlnd_ms/changes.xml +++ b/reference/mysqlnd_ms/changes.xml @@ -45,13 +45,15 @@ - Added the (chainable) filter concept: + Added the (chainable) filter concept: - BC break: mysqlnd_ms_set_user_pick_server - has been removed. - The user filter has been introduced to replace it. + BC break: + mysqlnd_ms_set_user_pick_server + has been removed. The + user + filter has been introduced to replace it. The filter offers almost the same functionality, see below for a discussion of differences. @@ -66,7 +68,8 @@ - Lazy connections improved: security relevant, state changing commands covered. + Lazy connections improved: + security relevant, state changing commands covered. diff --git a/reference/mysqlnd_ms/functions/mysqlnd-ms-get-stats.xml b/reference/mysqlnd_ms/functions/mysqlnd-ms-get-stats.xml index 4a6210c4b2..27f8e43b4a 100755 --- a/reference/mysqlnd_ms/functions/mysqlnd-ms-get-stats.xml +++ b/reference/mysqlnd_ms/functions/mysqlnd-ms-get-stats.xml @@ -229,7 +229,7 @@ Number of successfully opened slave connections from configurations not using - lazy connections. + lazy connections. The total number of successfully opened slave connections is non_lazy_connections_slave_success + lazy_connections_slave_success @@ -243,7 +243,7 @@ Number of failed slave connection attempts from configurations not using - lazy connections. + lazy connections. The total number of failed slave connection attempts is non_lazy_connections_slave_failure + lazy_connections_slave_failure @@ -257,7 +257,7 @@ Number of successfully opened master connections from configurations not using - lazy connections. + lazy connections. The total number of successfully opened master connections is non_lazy_connections_master_success + lazy_connections_master_success @@ -271,7 +271,7 @@ Number of failed master connection attempts from configurations not using - lazy connections. + lazy connections. The total number of failed master connection attempts is non_lazy_connections_master_failure + lazy_connections_master_failure @@ -285,7 +285,7 @@ Number of successfully opened slave connections from configurations using - lazy connections. + lazy connections. Since 1.0.0. @@ -296,7 +296,7 @@ Number of failed slave connection attempts from configurations using - lazy connections. + lazy connections. Since 1.0.0. @@ -307,7 +307,7 @@ Number of successfully opened master connections from configurations using - lazy connections. + lazy connections. Since 1.0.0. @@ -318,7 +318,7 @@ Number of failed master connection attempts from configurations using - lazy connections. + lazy connections. Since 1.0.0. @@ -330,11 +330,11 @@ Number of autocommit mode activations via API calls. This figure may be used to monitor activity related to the plugin configuration setting - trx_stickiness. + trx_stickiness. If, for example, you want to know if a certain API call invokes the mysqlnd library function trx_autocommit(), which is a requirement for - trx_stickiness, + trx_stickiness, 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 trx_autocommit() @@ -357,7 +357,7 @@ Number of statemens redirected to the master while - trx_stickiness=master + trx_stickiness=master and autocommit mode is disabled. Since 1.0.0. diff --git a/reference/mysqlnd_ms/functions/mysqlnd-ms-match-wild.xml b/reference/mysqlnd_ms/functions/mysqlnd-ms-match-wild.xml index 31ed8c67a4..ca0a91b69b 100644 --- a/reference/mysqlnd_ms/functions/mysqlnd-ms-match-wild.xml +++ b/reference/mysqlnd_ms/functions/mysqlnd-ms-match-wild.xml @@ -1,5 +1,5 @@ - + @@ -20,7 +20,7 @@ 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. @@ -41,7 +41,7 @@ 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. MySQL replication filters @@ -82,7 +82,7 @@ Otherwise, returns FALSE - + &reftitle.examples; diff --git a/reference/mysqlnd_ms/functions/mysqlnd-ms-query-is-select.xml b/reference/mysqlnd_ms/functions/mysqlnd-ms-query-is-select.xml index ffe7ead3f8..bb5ded6c25 100755 --- a/reference/mysqlnd_ms/functions/mysqlnd-ms-query-is-select.xml +++ b/reference/mysqlnd_ms/functions/mysqlnd-ms-query-is-select.xml @@ -1,5 +1,5 @@ - + @@ -111,10 +111,13 @@ SELECT 1 FROM DUAL should be run on a slave. Predefined Constants + + user filter + - + + @@ -205,18 +205,24 @@ User has connected to 'myapp'... - + &reftitle.seealso; mysqlnd_ms_query_is_select - + + + Filter concept + + + user filter + - +