| 1 |
# stress tests: blobs=yes, crash=no, compress=yes |
| 2 |
|
| 3 |
# Don't test this under valgrind, memory leaks will occur |
| 4 |
--source include/not_valgrind.inc |
| 5 |
--source include/master-slave.inc |
| 6 |
--source include/big_test.inc |
| 7 |
|
| 8 |
let $MYSQL_BASEDIR = `SELECT @@BASEDIR`; |
| 9 |
|
| 10 |
# Too heavy for testing in debug mode |
| 11 |
--source include/have_nodebug.inc |
| 12 |
|
| 13 |
--disable_warnings |
| 14 |
DROP TABLE IF EXISTS t1; |
| 15 |
--enable_warnings |
| 16 |
|
| 17 |
# create the actual table |
| 18 |
CREATE TABLE t1(id INT AUTO_INCREMENT PRIMARY KEY, |
| 19 |
msg_prefix VARCHAR(255), |
| 20 |
msg longtext, |
| 21 |
msg_length int, |
| 22 |
msg_checksum varchar(128), |
| 23 |
KEY msg_i(msg_prefix)) |
| 24 |
ENGINE=INNODB |
| 25 |
ROW_FORMAT=COMPRESSED |
| 26 |
KEY_BLOCK_SIZE=16; |
| 27 |
|
| 28 |
let $use_blob=1; |
| 29 |
let $do_compress=1; |
| 30 |
let $do_crash=0; |
| 31 |
|
| 32 |
--let $num_crashes = 1 |
| 33 |
--let $num_workers = 20 |
| 34 |
--let $num_transactions = 10000 |
| 35 |
--let $kill_db_after = 0 |
| 36 |
--let $num_records = 10000 |
| 37 |
--let $max_rows = 200000 |
| 38 |
|
| 39 |
--source suite/innodb_stress/include/innodb_stress.inc |