summaryrefslogtreecommitdiff
path: root/mysql-test/t/compress.test
diff options
context:
space:
mode:
Diffstat (limited to 'mysql-test/t/compress.test')
-rw-r--r--mysql-test/t/compress.test15
1 files changed, 15 insertions, 0 deletions
diff --git a/mysql-test/t/compress.test b/mysql-test/t/compress.test
new file mode 100644
index 00000000000..46244edd2a8
--- /dev/null
+++ b/mysql-test/t/compress.test
@@ -0,0 +1,15 @@
+# Turn on compression between the client and server
+# and run a number of tests
+
+-- source include/have_compress.inc
+
+connect (comp_con,localhost,root,,,,,COMPRESS);
+
+# Check compression turned on
+SHOW STATUS LIKE 'Compression';
+
+# Source select test case
+-- source include/common-tests.inc
+
+# Check compression turned on
+SHOW STATUS LIKE 'Compression';