Mysqlnd query result cache plugin (
mysqlnd_qc
)
2657
• Fixed PECL #22784 - Using mysql_connect and mysql_select_db did not work
• Fixed PECL #59982 - Unusable extension with --enable-mysqlnd-ms-table-filter. Use of the option is
NOT supported. You must not used it. Added note to m4.
• Fixed Bug #60119 - host="localhost" lost in mysqlnd_ms_get_last_used_connection()
The
mysqlnd_ms_set_user_pick_server
function was removed, and replaced 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 instead 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. Doing so will cause the function executing a statement handled
by the plugin to emit an
E_RECOVERABLE_ERROR
level error, which might look like: "
(mysqlnd_ms)
Specified callback (picker) is not a valid callback
." Note: this may halt your
application.
20.7.6.9.6. PECL/mysqlnd_ms 1.0 series
Copyright 1997-2012 the PHP Documentation Group. [2230]
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 feedback
The first release of practical use. It 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. Essentially a demo of the
mysqlnd
plugin API.
20.7.7. Mysqlnd query result cache plugin (
mysqlnd_qc
)
Copyright 1997-2012 the PHP Documentation Group. [2230]
The mysqlnd query result cache plugin adds easy to use client-side query caching to all PHP MySQL
extensions using
mysqlnd
.
As of version PHP 5.3.3 the MySQL native driver for PHP (
mysqlnd
) features an internal plugin C
API. C plugins, such as the query cache plugin, can extend the functionality of
mysqlnd
.
Mysqlnd plugins such as the query cache plugin operate transparent from a user perspective.
The cache plugin supports all PHP applications and all PHP MySQL extensions (
mysqli
,
mysql
,
PDO_MYSQL
). It does not change existing APIs.
No significant application changes are required to cache a query. The cache has two operation modes.
It will either cache all queries (not recommended) or only those queries marked with a certain SQL hint
(recommended).
Summary of Contents for 5.0
Page 1: ...MySQL 5 0 Reference Manual ...
Page 18: ...xviii ...
Page 60: ...40 ...
Page 396: ...376 ...
Page 578: ...558 ...
Page 636: ...616 ...
Page 844: ...824 ...
Page 1234: ...1214 ...
Page 1427: ...MySQL Proxy Scripting 1407 ...
Page 1734: ...1714 ...
Page 1752: ...1732 ...
Page 1783: ...Configuring Connector ODBC 1763 ...
Page 1793: ...Connector ODBC Examples 1773 ...
Page 1839: ...Connector Net Installation 1819 2 You must choose the type of installation to perform ...
Page 2850: ...2830 ...
Page 2854: ...2834 ...
Page 2928: ...2908 ...
Page 3000: ...2980 ...
Page 3122: ...3102 ...
Page 3126: ...3106 ...
Page 3174: ...3154 ...
Page 3232: ...3212 ...