Oracle 5.0 Reference Manual page 2822

Table of Contents

Advertisement

object(Memcached)#2 (0) {
}
["pattern"]=>
string(125) "/^\s*SELECT\s*(.+?)\s*FROM\s*`?([a-z0-9_]+)`?\s*WHERE\s*`?([a-z0-9_]+)`?\s*=\s*(?(?=["'])["'
["mappings"]=>
array(1) {
["mymem_test"]=>
array(6) {
["prefix"]=>
string(13) "@@mymem_test."
["schema_name"]=>
string(4) "test"
["table_name"]=>
string(10) "mymem_test"
["id_field_name"]=>
string(2) "id"
["separator"]=>
string(1) "|"
["fields"]=>
array(3) {
[0]=>
string(2) "f1"
[1]=>
string(2) "f2"
[2]=>
string(2) "f3"
}
}
}
["mapping_query"]=>
string(209) "
}
See Also
mysqlnd_memcache_set
20.7.10.7.2.
mysqlnd_memcache_set
Copyright 1997-2012 the PHP Documentation Group. [2230]
mysqlnd_memcache_set
Associate a MySQL connection with a Memcache connection
Description
bool mysqlnd_memcache_set(
mixed mysql_connection,
Memcached memcache_connection,
string pattern,
callback callback);
Associate
mysql_connection
regular expression, and
mysql_connection.
While associating a MySQL connection with a Memcache connection, this function will query the
MySQL Server for its configuration. It will automatically detect whether the server is configured to use
the InnoDB Memcache Daemon Plugin or MySQL Cluster NDB Memcache support. It will also query
Mysqlnd Memcache plugin (mysqlnd_memcache)
SELECT c.name,
CONCAT('@@', c.name, (SELECT value FROM innodb_memcache.config_options WHERE name
c.db_schema,
c.db_table,
c.key_columns,
c.value_columns,
(SELECT value FROM innodb_memcache.config_options WHERE name = 'separator') AS se
FROM innodb_memcache.containers c"
with
memcache_connection
as a notification callback or to unset the association of
callback
2802
using
as a PCRE
pattern

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents