Mysqlnd user handler plugin (
mysqlnd_uh
)
2708
• New constants and SQL hints
•
MYSQLND_QC_SERVER_ID_SWITCH
allows grouping of cache entries from different physical
connections. This is needed by PECL/mysqlnd_ms.
•
MYSQLND_QC_CONDITION_META_SCHEMA_PATTERN
to be used with
mysqlnd_qc_set_cache_condition
.
• New function
mysqlnd_qc_set_cache_condition
for built-in schema pattern based caching.
Likely to support a wider range of conditions in the future.
• Report
valid_until
timestamp for cache entries of the default handler through
mysqlnd_qc_get_cache_info
.
• Include charset number for cache entry hashing. This should prevent serving result sets which have
the wrong charset.
API change: get_hash_key expects new "charsetnr" (int) parameter after "port".
• API change: changing is_select() signature from bool is_select() to mixed is_select(). Mixed can be
either boolean or array(long ttl, string server_id). This is needed by PECL/mysqlnd_ms.
Other
• Support acting as a cache backend for
PECL/mysqlnd_ms
1.3.0-beta or later to transparently
replace MySQL Replication slave reads with cache accesses, if the user explicitly allows.
Bug fixes
• Fixed Bug #59959 (config.m4, wrong library - 64bit memcached handler builds) (Credits: Remi
Collet)
20.7.7.8.3. PECL/mysqlnd_qc 1.0 series
Copyright 1997-2012 the PHP Documentation Group. [2230]
1.0.1-stable
• Release date: 12/2010
• Motto/theme: Prepared statement support
Added support for Prepared statements and unbuffered queries.
1.0.0-beta
• Release date: 07/2010
• Motto/theme: TTL-based cache with various storage options (Memcache, APC, SQLite, user-
defined)
Initial public release of the transparent TTL-based query result cache. Flexible storage of cached
results. Various storage media supported.
20.7.8. Mysqlnd user handler plugin (
mysqlnd_uh
)
Copyright 1997-2012 the PHP Documentation Group. [2230]
The mysqlnd user handler plugin (
mysqlnd_uh
) allows users to set hooks for most internal calls of
the MySQL native driver for PHP (
mysqlnd
). Mysqlnd and its plugins, including PECL/mysqlnd_uh,
operate on a layer beneath the PHP MySQL extensions. A mysqlnd plugin can be considered as a
proxy between the PHP MySQL extensions and the MySQL server as part of the PHP executable on
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 ...