Document BC break and bug fix on SQL hints and trx stickiness

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@329519 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Ulf Wendel 2013-02-20 10:41:24 +00:00
parent 939657ed29
commit 25b1bd57ca

View file

@ -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>