1# stress tests: blobs=yes, crash=yes, compress=no 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 8SET GLOBAL innodb_file_format=Barracuda; 9 10# Don't test this under valgrind, memory leaks will occur 11--source include/not_valgrind.inc 12 13let $MYSQL_BASEDIR = `SELECT @@BASEDIR`; 14 15--disable_warnings 16DROP TABLE IF EXISTS t1; 17--enable_warnings 18 19# create the actual table 20CREATE TABLE t1(id INT AUTO_INCREMENT PRIMARY KEY, 21 msg_prefix VARCHAR(255), 22 msg longtext, 23 msg_length int, 24 msg_checksum varchar(128), 25 KEY msg_i(msg_prefix)) 26ENGINE=INNODB; 27 28let $use_blob=1; 29let $do_crash=1; 30let $do_compress=0; 31 32--let $num_crashes = 1 33--let $num_workers = 2 34--let $num_transactions = 0 35--let $kill_db_after = 10 36--let $num_records = 1000 37--let $max_rows = 4096 38 39--source suite/innodb_stress/include/innodb_stress.inc 40 41SET GLOBAL innodb_file_format=Default; 42