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/have_innodb.inc
6--source include/master-slave.inc
7--source include/big_test.inc
8
9SET GLOBAL innodb_file_format=Barracuda;
10
11let $MYSQL_BASEDIR = `SELECT @@BASEDIR`;
12
13# Too heavy for testing in debug mode
14--source include/have_nodebug.inc
15
16--disable_warnings
17DROP TABLE IF EXISTS t1;
18--enable_warnings
19
20# create the actual table
21CREATE TABLE t1(id INT AUTO_INCREMENT PRIMARY KEY,
22                msg_prefix VARCHAR(255),
23                msg longtext,
24                msg_length int,
25                msg_checksum varchar(128),
26                KEY msg_i(msg_prefix))
27ENGINE=INNODB
28ROW_FORMAT=COMPRESSED
29KEY_BLOCK_SIZE=1;
30
31let $use_blob=1;
32let $do_compress=1;
33let $do_crash=0;
34
35--let $num_crashes = 1
36--let $num_workers = 20
37--let $num_transactions = 10000
38--let $kill_db_after = 0
39--let $num_records = 10000
40--let $max_rows = 200000
41
42--source suite/innodb_stress/include/innodb_stress.inc
43
44SET GLOBAL innodb_file_format=Default;
45