2011-09-21 15:11:40 +00:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
2011-09-27 11:26:34 +00:00
|
|
|
<!-- $Revision$ -->
|
2011-09-21 15:11:40 +00:00
|
|
|
|
|
|
|
<chapter xml:id="mysqlnd-ms.changes" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink">
|
2011-09-27 11:26:34 +00:00
|
|
|
<title xmlns="http://docbook.org/ns/docbook">Change History</title>
|
2011-09-21 15:11:40 +00:00
|
|
|
<para>
|
2011-10-21 07:41:22 +00:00
|
|
|
This change history is a high level summary of selected changes
|
|
|
|
that may impact applications and/or break backwards compatibility.
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
See also the <filename>CHANGES</filename> file in the source distribution
|
|
|
|
for a complete list of changes.
|
2011-09-21 15:11:40 +00:00
|
|
|
</para>
|
|
|
|
|
|
|
|
<section xml:id="mysqlnd-ms.changes_one_one">
|
|
|
|
<title xmlns="http://docbook.org/ns/docbook">PECL/mysqlnd_ms 1.1 series</title>
|
|
|
|
<para>
|
|
|
|
1.1.0-beta
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
2011-10-21 07:41:22 +00:00
|
|
|
Release date: no released yet, planned for Q4 2011
|
2011-09-21 15:11:40 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
|
|
|
Motto/theme: Cover replication basics with production quality
|
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
</para>
|
|
|
|
<para>
|
2011-10-21 07:41:22 +00:00
|
|
|
The 1.1 and 1.0 series expose a similar feature set. Internally,
|
|
|
|
the 1.1 series has been refactored to plan for future feature
|
|
|
|
additions. A new configuration file format has been introduced,
|
|
|
|
and limitations have been lifted. And the code quality and quality
|
|
|
|
assurance has been improved.
|
2011-09-21 15:11:40 +00:00
|
|
|
</para>
|
|
|
|
<para>
|
2011-09-23 05:44:44 +00:00
|
|
|
Feature changes
|
2011-09-21 15:11:40 +00:00
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
2011-09-22 16:45:12 +00:00
|
|
|
<para>
|
2011-09-27 14:22:12 +00:00
|
|
|
Added the (chainable) <link linkend="mysqlnd-ms.filter">filter concept</link>:
|
2011-09-22 16:45:12 +00:00
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
2011-09-27 14:22:12 +00:00
|
|
|
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.
|
2011-10-21 07:41:22 +00:00
|
|
|
The filter offers similar functionality, but see below for an
|
|
|
|
explanation of the differences.
|
2011-09-22 16:45:12 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
</para>
|
2011-09-21 15:11:40 +00:00
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
2011-09-23 05:44:44 +00:00
|
|
|
New powerful <acronym>JSON</acronym> based configuration syntax.
|
2011-09-21 15:11:40 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
2011-09-27 14:22:12 +00:00
|
|
|
<link linkend="mysqlnd-ms.pooling">Lazy connections improved</link>:
|
2011-10-21 07:41:22 +00:00
|
|
|
security relevant, and state changing commands are covered.
|
2011-09-21 15:11:40 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
2011-09-23 05:44:44 +00:00
|
|
|
Support for (native) prepared statements.
|
2011-09-21 15:11:40 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
2011-09-23 11:42:04 +00:00
|
|
|
<listitem>
|
|
|
|
<para>
|
|
|
|
New statistics: <literal>use_master_guess</literal>,
|
|
|
|
<literal>use_slave_guess</literal>.
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
|
|
|
BC break: Semantics of statistics changed for
|
|
|
|
<literal>use_slave</literal>, <literal>use_master</literal>.
|
|
|
|
Future changes are likely. Please see,
|
|
|
|
<function>mysqlnd_ms_get_stats</function>.
|
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
</para>
|
|
|
|
</listitem>
|
2011-09-23 14:34:41 +00:00
|
|
|
<listitem>
|
|
|
|
<simpara>
|
|
|
|
List of broadcasted messages extended by <literal>ssl_set</literal>.
|
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
|
|
|
Library calls now monitored to remember settings for lazy connections:
|
|
|
|
<literal>change_user</literal>, <literal>select_db</literal>,
|
|
|
|
<literal>set_charset</literal>, <literal>set_autocommit</literal>.
|
|
|
|
</simpara>
|
|
|
|
</listitem>
|
2011-09-21 15:11:40 +00:00
|
|
|
</itemizedlist>
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
Bug fixes
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
|
|
|
Fixed PECL #22724 - Server switching (mysqlnd_ms_query_is_select() case sensitive)
|
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
2011-10-21 07:41:22 +00:00
|
|
|
Fixed PECL #22784 - Using mysql_connect and mysql_select_db did not work
|
2011-09-21 15:11:40 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
</para>
|
2011-09-22 16:45:12 +00:00
|
|
|
<para>
|
2011-10-21 07:41:22 +00:00
|
|
|
The <function>mysqlnd_ms_set_user_pick_server</function> function was removed, and
|
|
|
|
replaced in favor of a new <literal>user</literal> filter. You can no longer set a
|
|
|
|
callback function using <function>mysqlnd_ms_set_user_pick_server</function> at
|
|
|
|
runtime, but instead have to configure it in the plugins configuration file. The <literal>user</literal>
|
2011-09-22 16:45:12 +00:00
|
|
|
filter will pass the same arguments to the callback as before.
|
|
|
|
Therefore, you can continue to use the same procedural function as a callback.callback
|
2011-10-21 07:41:22 +00:00
|
|
|
It is no longer possible to use static class methods, or class methods of
|
|
|
|
an object instance, as a callback. Doing so will cause the function
|
|
|
|
executing a statement handled by the plugin to emit an
|
|
|
|
<constant>E_RECOVERABLE_ERROR</constant> level error, which might look like:
|
|
|
|
"<literal>(mysqlnd_ms) Specified callback (picker) is not a valid callback</literal>."
|
|
|
|
Note: this may halt your application.
|
2011-09-22 16:45:12 +00:00
|
|
|
</para>
|
2011-09-21 15:11:40 +00:00
|
|
|
</section>
|
|
|
|
|
|
|
|
<section xml:id="mysqlnd-ms.changes_one_o">
|
|
|
|
<title xmlns="http://docbook.org/ns/docbook">PECL/mysqlnd_ms 1.0 series</title>
|
|
|
|
<para>
|
|
|
|
1.0.1-alpha
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
|
|
|
Release date: 04/2011
|
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
|
|
|
Motto/theme: bug fix release
|
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
1.0.0-alpha
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
|
|
|
Release date: 04/2011
|
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
2011-10-21 07:41:22 +00:00
|
|
|
Motto/theme: Cover replication basics to test user feedback
|
2011-09-21 15:11:40 +00:00
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
</para>
|
|
|
|
<para>
|
2011-10-21 07:41:22 +00:00
|
|
|
The first release of practical use. It features basic automatic read-write splitting,
|
2011-09-21 15:11:40 +00:00
|
|
|
SQL hints to overrule automatic redirection, load balancing of
|
2011-10-21 07:41:22 +00:00
|
|
|
slave requests, lazy connections, and optional, automatic use of the master
|
2011-09-21 15:11:40 +00:00
|
|
|
after the first write.
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
The public feature set is close to that of the 1.1 release.
|
|
|
|
</para>
|
|
|
|
<para>
|
|
|
|
1.0.0-pre-alpha
|
|
|
|
<itemizedlist>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
|
|
|
Release date: 09/2010
|
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
<listitem>
|
|
|
|
<simpara>
|
|
|
|
Motto/theme: Proof of concept
|
|
|
|
</simpara>
|
|
|
|
</listitem>
|
|
|
|
</itemizedlist>
|
|
|
|
</para>
|
|
|
|
<para>
|
2011-10-21 07:41:22 +00:00
|
|
|
Initial check-in. Essentially a demo of the
|
2011-09-21 15:11:40 +00:00
|
|
|
<link linkend="book.mysqlnd">mysqlnd</link> plugin API.
|
|
|
|
</para>
|
|
|
|
</section>
|
|
|
|
|
|
|
|
</chapter>
|
|
|
|
|
|
|
|
<!-- Keep this comment at the end of the file
|
|
|
|
Local variables:
|
|
|
|
mode: sgml
|
|
|
|
sgml-omittag:t
|
|
|
|
sgml-shorttag:t
|
|
|
|
sgml-minimize-attributes:nil
|
|
|
|
sgml-always-quote-attributes:t
|
|
|
|
sgml-indent-step:1
|
|
|
|
sgml-indent-data:t
|
|
|
|
indent-tabs-mode:nil
|
|
|
|
sgml-parent-document:nil
|
|
|
|
sgml-default-dtd-file:"~/.phpdoc/manual.ced"
|
|
|
|
sgml-exposed-tags:nil
|
|
|
|
sgml-local-catalogs:nil
|
|
|
|
sgml-local-ecat-files:nil
|
|
|
|
End:
|
|
|
|
vim600: syn=xml fen fdm=syntax fdl=2 si
|
|
|
|
vim: et tw=78 syn=sgml
|
|
|
|
vi: ts=1 sw=1
|
|
|
|
-->
|