List:Commits« Previous MessageNext Message »
From:horst.hunger Date:February 10 2012 11:58am
Subject:bzr push into mysql-trunk-wl5824 branch (horst.hunger:3797 to 3798)
View as plain text  
 3798 horst.hunger@stripped	2012-02-10
      wl5824:More tests for memcached.

    added:
      mysql-test/suite/memcached/r/memcached_2_cols.result
      mysql-test/suite/memcached/r/memcached_2_intcols.result
      mysql-test/suite/memcached/t/memcached_2_cols-master.opt
      mysql-test/suite/memcached/t/memcached_2_cols.test
      mysql-test/suite/memcached/t/memcached_2_intcols-master.opt
      mysql-test/suite/memcached/t/memcached_2_intcols.test
 3797 Jimmy Yang	2012-02-09
      Remove a ENABLE_MEMCACHED_SASL define check in CMakeList.txt. It causes
      cmake fail in some scenario.

    modified:
      plugin/innodb_memcached/daemon_memcached/CMakeLists.txt
=== added file 'mysql-test/suite/memcached/r/memcached_2_cols.result'
--- a/mysql-test/suite/memcached/r/memcached_2_cols.result	1970-01-01 00:00:00 +0000
+++ b/mysql-test/suite/memcached/r/memcached_2_cols.result	2012-02-10 11:56:53 +0000
@@ -0,0 +1,106 @@
+CALL mtr.add_suppression("daemon-memcached-w-batch-size': unsigned");
+CALL mtr.add_suppression("Could not obtain server's UPN to be used as target service name");
+CALL mtr.add_suppression("InnoDB: Warning: MySQL is trying to drop");
+SET @tx_isolation= @@global.tx_isolation;
+SET GLOBAL TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;
+UNINSTALL PLUGIN daemon_memcached;
+create database innodb_memcache;
+use innodb_memcache;
+CREATE  TABLE IF NOT EXISTS `cache_policies` (
+`policy_name` VARCHAR(40) PRIMARY KEY,
+`get_policy` ENUM('innodb_only', 'cache_only', 'caching','disabled')
+NOT NULL ,
+`set_policy` ENUM('innodb_only', 'cache_only','caching','disabled')
+NOT NULL ,
+`delete_policy` ENUM('innodb_only', 'cache_only', 'caching','disabled')
+NOT NULL,
+`flush_policy` ENUM('innodb_only', 'cache_only', 'caching','disabled')
+NOT NULL
+) ENGINE = innodb;
+CREATE  TABLE IF NOT EXISTS `containers` (
+`name` varchar(50) not null primary key,
+`db_schema` VARCHAR(250) NOT NULL,
+`db_table` VARCHAR(250) NOT NULL,
+`key_columns` VARCHAR(250) NOT NULL,
+`value_columns` VARCHAR(250),
+`flags` VARCHAR(250) NOT NULL DEFAULT "0",
+`cas_column` VARCHAR(250),
+`expire_time_column` VARCHAR(250),
+`unique_idx_name_on_key` VARCHAR(250) NOT NULL
+) ENGINE = InnoDB;
+CREATE  TABLE IF NOT EXISTS `config_options` (
+`name` varchar(50) not null primary key,
+`value` varchar(50)) ENGINE = InnoDB;
+INSERT INTO cache_policies VALUES("cache_policy", "innodb_only",
+"innodb_only", "innodb_only", "innodb_only");
+INSERT INTO config_options VALUES("separator", "|");
+INSERT INTO containers VALUES ("desc_t1", "test", "t1",
+"c1", "c2,c21", "c3", "c4", "c5", "PRIMARY");
+USE test;
+CREATE TABLE t1        (c1 VARCHAR(32),
+c2 VARCHAR(1024),
+c21 VARCHAR(1024),
+c3 INT, c4 BIGINT UNSIGNED, c5 INT, primary key(c1))
+ENGINE = INNODB;
+INSERT INTO t1 VALUES ('D', 'Darmstadt', 'City', 0, 0, 0);
+INSERT INTO t1 VALUES ('B', 'Berlin', 'Mitte', 0, 0, 0);
+INSERT INTO t1 VALUES ('C', 'Cottbus', 'West', 0, 0 ,0);
+INSERT INTO t1 VALUES ('H', 'Hamburg', 'Norderstedt', 0, 0, 0);
+INSTALL PLUGIN daemon_memcached SONAME 'libmemcached.so';
+SELECT c1,c2,c21 FROM t1;
+c1	c2	c21
+B	Berlin	Mitte
+C	Cottbus	West
+D	Darmstadt	City
+H	Hamburg	Norderstedt
+Here the memcached results with D,B,H,C:
+Darmstadt|City
+Berlin|Mitte
+Hamburg|Norderstedt
+Cottbus|West
+SELECT c1,c2,c21 FROM t1;
+c1	c2	c21
+B	Berlin	Mitte
+C	Cottbus	West
+D	Darmstadt	City
+H	Hamburg	Norderstedt
+Here the memcached results after set:
+Essen
+SELECT c1,c2,c21 FROM t1;
+c1	c2	c21
+B	Berlin	Mitte
+C	Cottbus	West
+D	Darmstadt	City
+E	Essen	NULL
+H	Hamburg	Norderstedt
+Here the memcached results after add:
+Frankfurt|Sachsenhause
+SELECT c1,c2,c21 FROM t1;
+c1	c2	c21
+B	Berlin	Mitte
+C	Cottbus	West
+D	Darmstadt	City
+E	Essen	NULL
+F	Frankfurt	Sachsenhause
+H	Hamburg	Norderstedt
+Here the memcached results after replace:
+Frankfurt a. M.|Sachsenhausen
+SELECT c1,c2,c21 FROM t1;
+c1	c2	c21
+B	Berlin	Mitte
+C	Cottbus	West
+D	Darmstadt	City
+E	Essen	NULL
+F	Frankfurt a. M.	Sachsenhausen
+H	Hamburg	Norderstedt
+Here the memcached results after delete:
+SELECT c1,c2,c21 FROM t1;
+c1	c2	c21
+B	Berlin	Mitte
+C	Cottbus	West
+D	Darmstadt	City
+E	Essen	NULL
+H	Hamburg	Norderstedt
+DROP TABLE t1;
+DROP DATABASE innodb_memcache;
+SET @@global.tx_isolation= @tx_isolation;

=== added file 'mysql-test/suite/memcached/r/memcached_2_intcols.result'
--- a/mysql-test/suite/memcached/r/memcached_2_intcols.result	1970-01-01 00:00:00 +0000
+++ b/mysql-test/suite/memcached/r/memcached_2_intcols.result	2012-02-10 11:56:53 +0000
@@ -0,0 +1,106 @@
+CALL mtr.add_suppression("daemon-memcached-w-batch-size': unsigned");
+CALL mtr.add_suppression("Could not obtain server's UPN to be used as target service name");
+CALL mtr.add_suppression("InnoDB: Warning: MySQL is trying to drop");
+SET @tx_isolation= @@global.tx_isolation;
+SET GLOBAL TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;
+UNINSTALL PLUGIN daemon_memcached;
+create database innodb_memcache;
+use innodb_memcache;
+CREATE  TABLE IF NOT EXISTS `cache_policies` (
+`policy_name` VARCHAR(40) PRIMARY KEY,
+`get_policy` ENUM('innodb_only', 'cache_only', 'caching','disabled')
+NOT NULL ,
+`set_policy` ENUM('innodb_only', 'cache_only','caching','disabled')
+NOT NULL ,
+`delete_policy` ENUM('innodb_only', 'cache_only', 'caching','disabled')
+NOT NULL,
+`flush_policy` ENUM('innodb_only', 'cache_only', 'caching','disabled')
+NOT NULL
+) ENGINE = innodb;
+CREATE  TABLE IF NOT EXISTS `containers` (
+`name` varchar(50) not null primary key,
+`db_schema` VARCHAR(250) NOT NULL,
+`db_table` VARCHAR(250) NOT NULL,
+`key_columns` VARCHAR(250) NOT NULL,
+`value_columns` VARCHAR(250),
+`flags` VARCHAR(250) NOT NULL DEFAULT "0",
+`cas_column` VARCHAR(250),
+`expire_time_column` VARCHAR(250),
+`unique_idx_name_on_key` VARCHAR(250) NOT NULL
+) ENGINE = InnoDB;
+CREATE  TABLE IF NOT EXISTS `config_options` (
+`name` varchar(50) not null primary key,
+`value` varchar(50)) ENGINE = InnoDB;
+INSERT INTO cache_policies VALUES("cache_policy", "innodb_only",
+"innodb_only", "innodb_only", "innodb_only");
+INSERT INTO config_options VALUES("separator", "|");
+INSERT INTO containers VALUES ("desc_t1", "test", "t1",
+"c1", "c2,c21", "c3", "c4", "c5", "PRIMARY");
+USE test;
+CREATE TABLE t1        (c1 VARCHAR(32),
+c2 VARCHAR(1024),
+c21 VARCHAR(1024),
+c3 INT, c4 BIGINT UNSIGNED, c5 INT, primary key(c1))
+ENGINE = INNODB;
+INSERT INTO t1 VALUES ('D', 'Darmstadt', 'City', 0, 0, 0);
+INSERT INTO t1 VALUES ('B', 'Berlin', 'Mitte', 0, 0, 0);
+INSERT INTO t1 VALUES ('C', 'Cottbus', 'West', 0, 0 ,0);
+INSERT INTO t1 VALUES ('H', 'Hamburg', 'Norderstedt', 0, 0, 0);
+INSTALL PLUGIN daemon_memcached SONAME 'libmemcached.so';
+SELECT c1,c2,c21 FROM t1;
+c1	c2	c21
+B	Berlin	Mitte
+C	Cottbus	West
+D	Darmstadt	City
+H	Hamburg	Norderstedt
+Here the memcached results with D,B,H,C:
+Darmstadt|City
+Berlin|Mitte
+Hamburg|Norderstedt
+Cottbus|West
+SELECT c1,c2,c21 FROM t1;
+c1	c2	c21
+B	Berlin	Mitte
+C	Cottbus	West
+D	Darmstadt	City
+H	Hamburg	Norderstedt
+Here the memcached results after set:
+Essen
+SELECT c1,c2,c21 FROM t1;
+c1	c2	c21
+B	Berlin	Mitte
+C	Cottbus	West
+D	Darmstadt	City
+E	Essen	NULL
+H	Hamburg	Norderstedt
+Here the memcached results after add:
+Frankfurt|Sachsenhause
+SELECT c1,c2,c21 FROM t1;
+c1	c2	c21
+B	Berlin	Mitte
+C	Cottbus	West
+D	Darmstadt	City
+E	Essen	NULL
+F	Frankfurt	Sachsenhause
+H	Hamburg	Norderstedt
+Here the memcached results after replace:
+Frankfurt a. M.|Sachsenhausen
+SELECT c1,c2,c21 FROM t1;
+c1	c2	c21
+B	Berlin	Mitte
+C	Cottbus	West
+D	Darmstadt	City
+E	Essen	NULL
+F	Frankfurt a. M.	Sachsenhausen
+H	Hamburg	Norderstedt
+Here the memcached results after delete:
+SELECT c1,c2,c21 FROM t1;
+c1	c2	c21
+B	Berlin	Mitte
+C	Cottbus	West
+D	Darmstadt	City
+E	Essen	NULL
+H	Hamburg	Norderstedt
+DROP TABLE t1;
+DROP DATABASE innodb_memcache;
+SET @@global.tx_isolation= @tx_isolation;

=== added file 'mysql-test/suite/memcached/t/memcached_2_cols-master.opt'
--- a/mysql-test/suite/memcached/t/memcached_2_cols-master.opt	1970-01-01 00:00:00 +0000
+++ b/mysql-test/suite/memcached/t/memcached_2_cols-master.opt	2012-02-10 11:56:53 +0000
@@ -0,0 +1,2 @@
+$DAEMON_MEMCACHED_OPT
+$DAEMON_MEMCACHED_LOAD

=== added file 'mysql-test/suite/memcached/t/memcached_2_cols.test'
--- a/mysql-test/suite/memcached/t/memcached_2_cols.test	1970-01-01 00:00:00 +0000
+++ b/mysql-test/suite/memcached/t/memcached_2_cols.test	2012-02-10 11:56:53 +0000
@@ -0,0 +1,180 @@
+CALL mtr.add_suppression("daemon-memcached-w-batch-size': unsigned");
+CALL mtr.add_suppression("Could not obtain server's UPN to be used as target service name");
+CALL mtr.add_suppression("InnoDB: Warning: MySQL is trying to drop");
+
+SET @tx_isolation= @@global.tx_isolation;
+SET GLOBAL TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;
+
+source include/have_innodb.inc;
+
+# Stop plugin befor innodb_memcached configuration
+UNINSTALL PLUGIN daemon_memcached;
+
+# Create the memcached tables
+source suite/memcached/inc/memcache_config.inc;
+
+INSERT INTO cache_policies VALUES("cache_policy", "innodb_only",
+				  "innodb_only", "innodb_only", "innodb_only");
+
+INSERT INTO config_options VALUES("separator", "|");
+
+# describe table for memcache
+INSERT INTO containers VALUES ("desc_t1", "test", "t1",
+			       "c1", "c2,c21", "c3", "c4", "c5", "PRIMARY");
+
+USE test;
+
+CREATE TABLE t1        (c1 VARCHAR(32),
+			c2 VARCHAR(1024),
+			c21 VARCHAR(1024),
+			c3 INT, c4 BIGINT UNSIGNED, c5 INT, primary key(c1))
+ENGINE = INNODB;
+
+INSERT INTO t1 VALUES ('D', 'Darmstadt', 'City', 0, 0, 0);
+INSERT INTO t1 VALUES ('B', 'Berlin', 'Mitte', 0, 0, 0);
+INSERT INTO t1 VALUES ('C', 'Cottbus', 'West', 0, 0 ,0);
+INSERT INTO t1 VALUES ('H', 'Hamburg', 'Norderstedt', 0, 0, 0);
+
+# Tables must exist before plugin can be started!
+INSTALL PLUGIN daemon_memcached SONAME 'libmemcached.so';
+
+# The following select is writing all to  memcache otherwisw memcache is empty.
+--sorted_result
+SELECT c1,c2,c21 FROM t1;
+
+perl;
+use DBI;
+use Cache::Memcached;
+my $memd = new Cache::Memcached {
+  'servers' => [ "127.0.0.1:11211" ]
+};
+print "Here the memcached results with D,B,H,C:\n";
+$val = $memd->get("D");
+if ($val) { print "$val\n"; }
+$val = $memd->get("B");
+if ($val) { print "$val\n"; }
+$val = $memd->get("H");
+if ($val) { print "$val\n"; }
+$val = $memd->get("C");
+if ($val) { print "$val\n"; }
+$memd->disconnect_all;
+EOF
+
+# The following select is writing all to  memcache otherwisw memcache is empty.
+--sorted_result
+SELECT c1,c2,c21 FROM t1;
+
+perl;
+use DBI;
+use Cache::Memcached;
+my $memd = new Cache::Memcached {
+  'servers' => [ "127.0.0.1:11211" ]
+};
+print "Here the memcached results after set:\n";
+$val = $memd->set("E","Essen|Ost");
+$val = $memd->get("E");
+if ($val) { print "$val\n"; }
+$memd->disconnect_all;
+EOF
+
+# The following select is writing all to  memcache otherwisw memcache is empty.
+--sorted_result
+SELECT c1,c2,c21 FROM t1;
+
+perl;
+use DBI;
+use Cache::Memcached;
+my $memd = new Cache::Memcached {
+  'servers' => [ "127.0.0.1:11211" ]
+};
+print "Here the memcached results after add:\n";
+$val = $memd->add("F","Frankfurt|Sachsenhause");
+$val = $memd->get("F");
+if ($val) { print "$val\n"; }
+$memd->disconnect_all;
+EOF
+
+# The following select is writing all to  memcache otherwisw memcache is empty.
+--sorted_result
+SELECT c1,c2,c21 FROM t1;
+
+perl;
+use DBI;
+use Cache::Memcached;
+my $memd = new Cache::Memcached {
+  'servers' => [ "127.0.0.1:11211" ]
+};
+print "Here the memcached results after replace:\n";
+$val = $memd->replace("F","Frankfurt a. M.|Sachsenhausen");
+$val = $memd->get("F");
+if ($val) { print "$val\n"; }
+$memd->disconnect_all;
+EOF
+
+# The following select is writing all to  memcache otherwisw memcache is empty.
+--sorted_result
+SELECT c1,c2,c21 FROM t1;
+
+perl;
+use DBI;
+use Cache::Memcached;
+my $memd = new Cache::Memcached {
+  'servers' => [ "127.0.0.1:11211" ]
+};
+print "Here the memcached results after delete:\n";
+$val = $memd->delete("F");
+$val = $memd->get("F");
+if ($val) { print "$val\n"; }
+$memd->disconnect_all;
+EOF
+
+# The following select is writing all to  memcache otherwisw memcache is empty.
+--sorted_result
+SELECT c1,c2,c21 FROM t1;
+
+perl;
+use DBI;
+use Cache::Memcached;
+my $memd = new Cache::Memcached {
+  'servers' => [ "127.0.0.1:11211" ]
+};
+print "Here the memcached results after add Frankfurt|:\n";
+$val = $memd->add("F","Frankfurt|");
+$val = $memd->get("F");
+if ($val) { print "$val\n"; }
+print "Here the memcached results after add |Airport:\n";
+$val = $memd->add("F","|");
+$val = $memd->get("F");
+if ($val) { print "$val\n"; }
+$memd->disconnect_all;
+EOF
+
+# The following select is writing all to  memcache otherwisw memcache is empty.
+--sorted_result
+SELECT c1,c2,c21 FROM t1;
+
+perl;
+use DBI;
+use Cache::Memcached;
+my $memd = new Cache::Memcached {
+  'servers' => [ "127.0.0.1:11211" ]
+};
+print "Here the memcached results after replace Frankfurt a.M.:\n";
+$val = $memd->replace("F","Frankfurt a. M.|");
+$val = $memd->get("F");
+if ($val) { print "$val\n"; }
+print "Here the memcached results after replace Sachsenhausen:\n";
+$val = $memd->replace("F","|Sachsenhausen");
+$val = $memd->get("F");
+if ($val) { print "$val\n"; }
+$memd->disconnect_all;
+EOF
+
+# The following select is writing all to  memcache otherwisw memcache is empty.
+--sorted_result
+SELECT c1,c2,c21 FROM t1;
+
+DROP TABLE t1;
+DROP DATABASE innodb_memcache;
+ 
+SET @@global.tx_isolation= @tx_isolation;

=== added file 'mysql-test/suite/memcached/t/memcached_2_intcols-master.opt'
--- a/mysql-test/suite/memcached/t/memcached_2_intcols-master.opt	1970-01-01 00:00:00 +0000
+++ b/mysql-test/suite/memcached/t/memcached_2_intcols-master.opt	2012-02-10 11:56:53 +0000
@@ -0,0 +1,2 @@
+$DAEMON_MEMCACHED_OPT
+$DAEMON_MEMCACHED_LOAD

=== added file 'mysql-test/suite/memcached/t/memcached_2_intcols.test'
--- a/mysql-test/suite/memcached/t/memcached_2_intcols.test	1970-01-01 00:00:00 +0000
+++ b/mysql-test/suite/memcached/t/memcached_2_intcols.test	2012-02-10 11:56:53 +0000
@@ -0,0 +1,180 @@
+CALL mtr.add_suppression("daemon-memcached-w-batch-size': unsigned");
+CALL mtr.add_suppression("Could not obtain server's UPN to be used as target service name");
+CALL mtr.add_suppression("InnoDB: Warning: MySQL is trying to drop");
+
+SET @tx_isolation= @@global.tx_isolation;
+SET GLOBAL TRANSACTION ISOLATION LEVEL READ UNCOMMITTED;
+
+source include/have_innodb.inc;
+
+# Stop plugin befor innodb_memcached configuration
+UNINSTALL PLUGIN daemon_memcached;
+
+# Create the memcached tables
+source suite/memcached/inc/memcache_config.inc;
+
+INSERT INTO cache_policies VALUES("cache_policy", "innodb_only",
+				  "innodb_only", "innodb_only", "innodb_only");
+
+INSERT INTO config_options VALUES("separator", "|");
+
+# describe table for memcache
+INSERT INTO containers VALUES ("desc_t1", "test", "t1",
+			       "c1", "c2,c21", "c3", "c4", "c5", "PRIMARY");
+
+USE test;
+
+CREATE TABLE t1        (c1 VARCHAR(32),
+			c2 INT,
+			c21 VARCHAR(1024),
+			c3 INT, c4 BIGINT UNSIGNED, c5 INT, primary key(c1))
+ENGINE = INNODB;
+
+INSERT INTO t1 VALUES ('D', '1', 'City', 0, 0, 0);
+INSERT INTO t1 VALUES ('B', '2', 'Mitte', 0, 0, 0);
+INSERT INTO t1 VALUES ('C', '3', 'West', 0, 0 ,0);
+INSERT INTO t1 VALUES ('H', '4', 'Norderstedt', 0, 0, 0);
+
+# Tables must exist before plugin can be started!
+INSTALL PLUGIN daemon_memcached SONAME 'libmemcached.so';
+
+# The following select is writing all to  memcache otherwisw memcache is empty.
+--sorted_result
+SELECT c1,c2,c21 FROM t1;
+
+perl;
+use DBI;
+use Cache::Memcached;
+my $memd = new Cache::Memcached {
+  'servers' => [ "127.0.0.1:11211" ]
+};
+print "Here the memcached results with D,B,H,C:\n";
+$val = $memd->get("D");
+if ($val) { print "$val\n"; }
+$val = $memd->get("B");
+if ($val) { print "$val\n"; }
+$val = $memd->get("H");
+if ($val) { print "$val\n"; }
+$val = $memd->get("C");
+if ($val) { print "$val\n"; }
+$memd->disconnect_all;
+EOF
+
+# The following select is writing all to  memcache otherwisw memcache is empty.
+--sorted_result
+SELECT c1,c2,c21 FROM t1;
+
+perl;
+use DBI;
+use Cache::Memcached;
+my $memd = new Cache::Memcached {
+  'servers' => [ "127.0.0.1:11211" ]
+};
+#print "Here the memcached results after set:\n";
+#$val = $memd->set("E","5|Ost");
+#$val = $memd->get("E");
+#if ($val) { print "$val\n"; }
+$memd->disconnect_all;
+EOF
+
+# The following select is writing all to  memcache otherwisw memcache is empty.
+--sorted_result
+SELECT c1,c2,c21 FROM t1;
+
+perl;
+use DBI;
+use Cache::Memcached;
+my $memd = new Cache::Memcached {
+  'servers' => [ "127.0.0.1:11211" ]
+};
+#print "Here the memcached results after add:\n";
+#$val = $memd->add("F","6|Sachsenhause");
+#$val = $memd->get("F");
+#if ($val) { print "$val\n"; }
+$memd->disconnect_all;
+EOF
+
+# The following select is writing all to  memcache otherwisw memcache is empty.
+--sorted_result
+SELECT c1,c2,c21 FROM t1;
+
+perl;
+use DBI;
+use Cache::Memcached;
+my $memd = new Cache::Memcached {
+  'servers' => [ "127.0.0.1:11211" ]
+};
+#print "Here the memcached results after replace:\n";
+#$val = $memd->replace("F","61|Sachsenhausen");
+#$val = $memd->get("F");
+#if ($val) { print "$val\n"; }
+$memd->disconnect_all;
+EOF
+
+# The following select is writing all to  memcache otherwisw memcache is empty.
+--sorted_result
+SELECT c1,c2,c21 FROM t1;
+
+perl;
+use DBI;
+use Cache::Memcached;
+my $memd = new Cache::Memcached {
+  'servers' => [ "127.0.0.1:11211" ]
+};
+#print "Here the memcached results after delete:\n";
+#$val = $memd->delete("F");
+#$val = $memd->get("F");
+#if ($val) { print "$val\n"; }
+$memd->disconnect_all;
+EOF
+
+# The following select is writing all to  memcache otherwisw memcache is empty.
+--sorted_result
+SELECT c1,c2,c21 FROM t1;
+
+perl;
+use DBI;
+use Cache::Memcached;
+my $memd = new Cache::Memcached {
+  'servers' => [ "127.0.0.1:11211" ]
+};
+#print "Here the memcached results after add Frankfurt|:\n";
+#$val = $memd->add("F","6|a");
+#$val = $memd->get("F");
+#if ($val) { print "$val\n"; }
+#print "Here the memcached results after add |Airport:\n";
+#$val = $memd->add("F","|Airport");
+#$val = $memd->get("F");
+#if ($val) { print "$val\n"; }
+$memd->disconnect_all;
+EOF
+
+# The following select is writing all to  memcache otherwisw memcache is empty.
+--sorted_result
+SELECT c1,c2,c21 FROM t1;
+
+perl;
+use DBI;
+use Cache::Memcached;
+my $memd = new Cache::Memcached {
+  'servers' => [ "127.0.0.1:11211" ]
+};
+#print "Here the memcached results after replace Frankfurt a.M.:\n";
+#$val = $memd->replace("F","61|s");
+#$val = $memd->get("F");
+#if ($val) { print "$val\n"; }
+#print "Here the memcached results after replace Sachsenhausen:\n";
+#$val = $memd->replace("F","|Sachsenhausen");
+#$val = $memd->get("F");
+#if ($val) { print "$val\n"; }
+$memd->disconnect_all;
+EOF
+
+# The following select is writing all to  memcache otherwisw memcache is empty.
+--sorted_result
+SELECT c1,c2,c21 FROM t1;
+
+DROP TABLE t1;
+DROP DATABASE innodb_memcache;
+ 
+SET @@global.tx_isolation= @tx_isolation;

No bundle (reason: useless for push emails).
Thread
bzr push into mysql-trunk-wl5824 branch (horst.hunger:3797 to 3798) horst.hunger10 Feb