svn: /phpdoc/en/trunk/reference/mysqlnd_ms/ changes.xml
| From: | Ulf Wendel | Date: | Wed, 20 Feb 2013 10:41:24 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/mysqlnd_ms/ changes.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-11021@lists.php.net to get a copy of this message | ||
uw Wed, 20 Feb 2013 10:41:24 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=329519
Log:
Document BC break and bug fix on SQL hints and trx stickiness
Changed paths:
U phpdoc/en/trunk/reference/mysqlnd_ms/changes.xml
Modified: phpdoc/en/trunk/reference/mysqlnd_ms/changes.xml
===================================================================
--- phpdoc/en/trunk/reference/mysqlnd_ms/changes.xml 2013-02-20 10:14:42 UTC (rev 329518)
+++ phpdoc/en/trunk/reference/mysqlnd_ms/changes.xml 2013-02-20 10:41:24 UTC (rev 329519)
@@ -56,6 +56,29 @@
transaction monitoring had detected transaction boundaries properly.
</para>
</listitem>
+ <listitem>
+ <para>
+ BC break and bug fix. SQL hints enforcing the use of a specific
+ kind of server (<constant>MYSQLND_MS_MASTER_SWITCH</constant>,
+ <constant>MYSQLND_MS_SLAVE_SWITCH</constant>,
+ <constant>MYSQLND_MS_LAST_USED_SWITCH</constant>) are ignored for the
+ duration of a transaction of transaction stickiness is enabled and
+ transaction boundaries have been detected properly.
+ </para>
+ <para>
+ This is a change in behaviour. However, it is also a bug fix and a step
+ to align behaviour. If, in previous versions, transaction stickiness,
+ one of the above listed SQL hints and the quality of service filtering
+ was combined it could happened that the SQL hints got ignored. In some
+ case the SQL hints did work, in other cases they did not. The new
+ behaviour is more consistent. SQL hints will always be ignore for
+ the duration of a transaction, if transaction stickiness is configured.
+ </para>
+ <para>
+ Please note, transaction boundary detection continues to be based on API
+ call monitoring. SQL commands controlling transactions are not monitored.
+ </para>
+ </listitem>
</itemizedlist>
</para>
<para>