Change History
The Change History lists major changes users need to be aware if upgrading
from one version to another. It is a high level summary of selected changes
that may impact applications or might even break backwards compatibility.
Please, consult the CHANGES file contained in the source
distribution for a more complete list of changes. If you are eager to learn
about all changes, even smaller ones that do not make it into the
CHANGES file, you may want to monitor PECL commit messages.
To do you, you could, for example, subscribe to the PECL commit message mailing
list.
PECL/mysqlnd_ms 1.1 series
1.1.0-beta
Release date: no released yet, planned for 09/2011
Motto/theme: Cover replication basics with production quality
The 1.1 and 1.0 series expose a similar, although not identical, feature
set to the user, as can be guessed from the release motto/theme. Internally,
the 1.1 series has been refactored significantly to prepare for future
feature additions. A new configuration file format has been introduced
and, limitations have been lifted. Code quality and quality assurance
have been improved.
Feature changes
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.
The filter offers almost the same functionality, see below for a
discussion of differences.
New powerful JSON based configuration syntax.
Lazy connections improved:
security relevant, state changing commands covered.
Support for (native) prepared statements.
New statistics: use_master_guess,
use_slave_guess.
BC break: Semantics of statistics changed for
use_slave, use_master.
Future changes are likely. Please see,
mysqlnd_ms_get_stats.
List of broadcasted messages extended by ssl_set.
Library calls now monitored to remember settings for lazy connections:
change_user, select_db,
set_charset, set_autocommit.
Bug fixes
Fixed PECL #22724 - Server switching (mysqlnd_ms_query_is_select() case sensitive)
Fixed PECL #22784 - Using mysql_connect and mysql_select_db won't work
Users of the function mysqlnd_ms_set_user_pick_server need to
update their code. The function has been removed in favor of a
new user filter. You can no longer set a callback function
using mysqlnd_ms_set_user_pick_server at runtime but have to
configure it in the plugins configuration file. The user
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
It is no longer possible to use static class methods or class methods of
an object instance as a callback. Trying to do so, will make any function
executing a statement handled by the plugin
emit a E_RECOVERABLE_ERROR level error like
(mysqlnd_ms) Specified callback (picker) is not a valid callback.
Please, note that this may halt your application.
PECL/mysqlnd_ms 1.0 series
1.0.1-alpha
Release date: 04/2011
Motto/theme: bug fix release
1.0.0-alpha
Release date: 04/2011
Motto/theme: Cover replication basics to test user feeedback
First release of practical use. Features basic automatic read-write splitting,
SQL hints to overrule automatic redirection, load balancing of
slave requests, lazy connections and, optional, automatic use of the master
after the first write.
The public feature set is close to that of the 1.1 release.
1.0.0-pre-alpha
Release date: 09/2010
Motto/theme: Proof of concept
Initial check-in. At this stage the plugin is hardly of
any practical use but a demo of the
mysqlnd plugin API.