summaryrefslogtreecommitdiff
path: root/mysql-test/suite/percona/sql_no_fcache.patch
diff options
context:
space:
mode:
authorunknown <knielsen@knielsen-hq.org>2011-02-04 14:18:08 +0100
committerunknown <knielsen@knielsen-hq.org>2011-02-04 14:18:08 +0100
commit1fe7f1ef24b06909c5ed6ab42d62fc644ed660d6 (patch)
treec3e44432bbc62a814ad23d5bca5432cbd3f74b37 /mysql-test/suite/percona/sql_no_fcache.patch
parentd92a8eb9853d8f25e6e945a2d3531f97f8cbea04 (diff)
parent8e0ed9eebaf088a6b50925aba2724d0848066d4a (diff)
downloadmariadb-git-1fe7f1ef24b06909c5ed6ab42d62fc644ed660d6.tar.gz
Merge XtraDB from Percona Server 5.1.54-12.5 into MariaDB.
Diffstat (limited to 'mysql-test/suite/percona/sql_no_fcache.patch')
-rw-r--r--mysql-test/suite/percona/sql_no_fcache.patch/percona_sql_no_fcache.result12
-rw-r--r--mysql-test/suite/percona/sql_no_fcache.patch/percona_sql_no_fcache.test11
2 files changed, 23 insertions, 0 deletions
diff --git a/mysql-test/suite/percona/sql_no_fcache.patch/percona_sql_no_fcache.result b/mysql-test/suite/percona/sql_no_fcache.patch/percona_sql_no_fcache.result
new file mode 100644
index 00000000000..bc1413fb96d
--- /dev/null
+++ b/mysql-test/suite/percona/sql_no_fcache.patch/percona_sql_no_fcache.result
@@ -0,0 +1,12 @@
+drop table if exists t1;
+create table t (a int not null);
+insert into t values (1),(2),(3);
+SELECT SQL_NO_FCACHE SLEEP(0);
+SLEEP(0)
+0
+SELECT /*!40001 SQL_NO_CACHE */ /*!50084 SQL_NO_FCACHE */ * FROM t;
+a
+1
+2
+3
+DROP TABLE t;
diff --git a/mysql-test/suite/percona/sql_no_fcache.patch/percona_sql_no_fcache.test b/mysql-test/suite/percona/sql_no_fcache.patch/percona_sql_no_fcache.test
new file mode 100644
index 00000000000..1ed8be2196b
--- /dev/null
+++ b/mysql-test/suite/percona/sql_no_fcache.patch/percona_sql_no_fcache.test
@@ -0,0 +1,11 @@
+--disable_warnings
+drop table if exists t1;
+--enable_warnings
+
+create table t (a int not null);
+insert into t values (1),(2),(3);
+
+SELECT SQL_NO_FCACHE SLEEP(0);
+SELECT /*!40001 SQL_NO_CACHE */ /*!50084 SQL_NO_FCACHE */ * FROM t;
+
+DROP TABLE t;