1# The include statement below is a temp one for tests that are yet to 2#be ported to run with InnoDB, 3#but needs to be kept for tests that would need MyISAM in future. 4--source include/force_myisam_default.inc 5 6#Want to skip this test from daily Valgrind execution 7--source include/no_valgrind_without_big.inc 8# Turn on compression between the client and server 9# and run a number of tests 10 11# Can't test with embedded server 12-- source include/not_embedded.inc 13 14-- source include/have_compress.inc 15 16# Save the initial number of concurrent sessions 17--source include/count_sessions.inc 18 19 20connect (comp_con,localhost,root,,,,,COMPRESS); 21 22# Check compression turned on 23SHOW STATUS LIKE 'Compression'; 24--disable_warnings 25select * from information_schema.session_status where variable_name= 'COMPRESSION'; 26--enable_warnings 27 28# Source select test case 29-- source include/common-tests.inc 30 31# Check compression turned on 32SHOW STATUS LIKE 'Compression'; 33 34connection default; 35disconnect comp_con; 36 37# Wait till all disconnects are completed 38--source include/wait_until_count_sessions.inc 39 40