©
本文档使用
php.cn手册 发布
1.1.0 - stable
1.1.0 - beta
1.1.0 - alpha
Feature changes
APC storage handler update
New PHP configuration directives
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