2005-10-04 15:43:55 +02:00
|
|
|
# Turn on compression between the client and server
|
|
|
|
# and run a number of tests
|
|
|
|
|
2006-01-04 11:20:28 +01:00
|
|
|
# Can't test with embedded server
|
|
|
|
-- source include/not_embedded.inc
|
2005-10-04 15:43:55 +02:00
|
|
|
-- source include/have_compress.inc
|
Added option --staging-run to mysql-test-run to mark slow, not important tests, to not be run in staging trees
Use MY_MUTEX_INIT_FAST for pool mutex
mysql-test/mysql-test-run.pl:
Added option --staging-run
Added information about --parallell=# to help message
mysql-test/suite/federated/federated_server.test:
Slow test, don't run with --staging-run
mysql-test/suite/maria/t/maria-preload.test:
Slow test, don't run with --staging-run
mysql-test/suite/rpl/t/rpl_optimize.test:
Slow test, don't run with --staging-run
mysql-test/suite/rpl/t/rpl_relayrotate.test:
Slow test, don't run with --staging-run
mysql-test/suite/rpl/t/rpl_row_001.test:
Slow test, don't run with --staging-run
mysql-test/suite/rpl/t/rpl_row_mysqlbinlog.test:
Slow test, don't run with --staging-run
mysql-test/suite/rpl/t/rpl_row_sp003.test:
Slow test, don't run with --staging-run
mysql-test/suite/rpl/t/rpl_start_stop_slave.test:
Slow test, don't run with --staging-run
mysql-test/t/compress.test:
Slow test, don't run with --staging-run
mysql-test/t/count_distinct3.test:
Slow test, don't run with --staging-run
mysql-test/t/index_merge_innodb.test:
Slow test, don't run with --staging-run
mysql-test/t/information_schema_all_engines.test:
Slow test, don't run with --staging-run
mysql-test/t/innodb_mysql.test:
Slow test, don't run with --staging-run
mysql-test/t/pool_of_threads.test:
Slow test, don't run with --staging-run
mysql-test/t/preload.test:
Slow test, don't run with --staging-run
mysql-test/t/ssl.test:
Slow test, don't run with --staging-run
mysql-test/t/ssl_compress.test:
Slow test, don't run with --staging-run
mysql-test/valgrind.supp:
Suppress warnings from SuSE 11.1 on x86
sql/scheduler.cc:
Use MY_MUTEX_INIT_FAST for pool mutex
2009-06-05 17:35:22 +02:00
|
|
|
# Slow test, don't run during staging part
|
|
|
|
-- source include/not_staging.inc
|
2005-10-04 15:43:55 +02:00
|
|
|
|
2009-02-05 21:47:23 +01:00
|
|
|
# Save the initial number of concurrent sessions
|
|
|
|
--source include/count_sessions.inc
|
|
|
|
|
|
|
|
|
2005-10-13 11:28:06 +02:00
|
|
|
connect (comp_con,localhost,root,,,,,COMPRESS);
|
2005-10-04 15:43:55 +02:00
|
|
|
|
|
|
|
# Check compression turned on
|
|
|
|
SHOW STATUS LIKE 'Compression';
|
2007-04-03 11:24:35 +02:00
|
|
|
select * from information_schema.session_status where variable_name= 'COMPRESSION';
|
2005-10-04 15:43:55 +02:00
|
|
|
|
|
|
|
# Source select test case
|
2005-10-13 11:28:06 +02:00
|
|
|
-- source include/common-tests.inc
|
2005-10-04 15:43:55 +02:00
|
|
|
|
2005-10-13 11:28:06 +02:00
|
|
|
# Check compression turned on
|
|
|
|
SHOW STATUS LIKE 'Compression';
|
2009-02-05 21:47:23 +01:00
|
|
|
|
|
|
|
connection default;
|
|
|
|
disconnect comp_con;
|
|
|
|
|
|
|
|
# Wait till all disconnects are completed
|
|
|
|
--source include/wait_until_count_sessions.inc
|
|
|
|
|