mirror of
https://github.com/MariaDB/server.git
synced 2025-09-08 06:27:57 +03:00
Fixes to get the test suite to run without failures. mysql-test/r/information_schema.result: Additional variables available now. Sort output to avoid depending on engine order. mysql-test/r/information_schema_all_engines.result: More variables now. mysql-test/r/innodb-autoinc.result: Avoid picking up pbxt variables in result mysql-test/r/innodb-index.result: Save state to not corrupt following testcases. Suppress an expected warning. mysql-test/r/innodb-zip.result: Work around a problem with dependency on zlib version mysql-test/r/innodb.result: Checksums have changed in Maria. Save and restore server state to not corrupt following testcases. mysql-test/r/innodb_bug36169.result: Save and restore server state to not corrupt following testcases. mysql-test/r/innodb_xtradb_bug317074.result: Save and restore server state to not corrupt following testcases. mysql-test/r/row-checksum-old.result: Update result file mysql-test/r/row-checksum.result: Update result file mysql-test/t/information_schema.test: Sort output to avoid depending on engine order. mysql-test/t/innodb-analyze.test: Save and restore server state to not corrupt following testcases. mysql-test/t/innodb-autoinc.test: Save and restore server state to not corrupt following testcases. mysql-test/t/innodb-index.test: Save state to not corrupt following testcases. Suppress an expected warning. mysql-test/t/innodb-zip.test: Work around a problem with dependency on zlib version mysql-test/t/innodb.test: Save and restore server state to not corrupt following testcases. Update --replace statements for new mysql-test-run mysql-test/t/innodb_bug34300.test: Save and restore server state to not corrupt following testcases. mysql-test/t/innodb_bug36169.test: Save and restore server state to not corrupt following testcases. mysql-test/t/innodb_bug36172.test: Save and restore server state to not corrupt following testcases. mysql-test/t/innodb_xtradb_bug317074.test: Save and restore server state to not corrupt following testcases. mysql-test/t/partition_innodb.test: Fix regexps to work with new SHOW INNODB STATUS output. mysys/thr_mutex.c: Initialize mutex deadlock detection lazily. This allows to test XtraDB, which initializes huge amounts of mutexes without using any but a few of them. storage/xtradb/ibuf/ibuf0ibuf.c: Fix problem where value of INNODB_IBUF_MAX_SIZE would depend on the alignment of memory allocated by the buffer pool. storage/xtradb/include/sync0rw.h: Fix XtraDB to compile without GCC atomic operation intrinsics (performance may suffer when they are not available though). storage/xtradb/include/sync0rw.ic: Fix XtraDB to compile without GCC atomic operation intrinsics (performance may suffer when they are not available though). storage/xtradb/include/univ.i: Fix for MariaDB storage/xtradb/setup.sh: Remove no longer needed file from XtraDB. storage/xtradb/srv/srv0start.c: Fix for MariaDB
46 lines
1.1 KiB
Plaintext
46 lines
1.1 KiB
Plaintext
-- source include/have_innodb.inc
|
|
|
|
SET @save_innodb_file_format=@@global.innodb_file_format;
|
|
SET @save_innodb_file_format_check=@@global.innodb_file_format_check;
|
|
SET @save_innodb_file_per_table=@@global.innodb_file_per_table;
|
|
SET GLOBAL innodb_file_format='Barracuda';
|
|
SET GLOBAL innodb_file_per_table=ON;
|
|
|
|
-- disable_query_log
|
|
-- disable_result_log
|
|
|
|
DROP TABLE IF EXISTS `test1`;
|
|
CREATE TABLE IF NOT EXISTS `test1` (
|
|
`a` int primary key auto_increment,
|
|
`b` int default 0,
|
|
`c` char(100) default 'testtest'
|
|
) ENGINE=InnoDB ROW_FORMAT=COMPRESSED KEY_BLOCK_SIZE=8;
|
|
|
|
delimiter |;
|
|
CREATE PROCEDURE insert_many(p1 int)
|
|
BEGIN
|
|
SET @x = 0;
|
|
SET @y = 0;
|
|
REPEAT
|
|
insert into test1 set b=1;
|
|
SET @x = @x + 1;
|
|
SET @y = @y + 1;
|
|
IF @y >= 100 THEN
|
|
commit;
|
|
SET @y = 0;
|
|
END IF;
|
|
UNTIL @x >= p1 END REPEAT;
|
|
END|
|
|
delimiter ;|
|
|
call insert_many(100000);
|
|
DROP PROCEDURE insert_many;
|
|
|
|
# The bug is hangup at the following statement
|
|
ALTER TABLE test1 ENGINE=MyISAM;
|
|
|
|
SET GLOBAL innodb_file_format=@save_innodb_file_format;
|
|
SET GLOBAL innodb_file_format_check=@save_innodb_file_format_check;
|
|
SET GLOBAL innodb_file_per_table=@save_innodb_file_per_table;
|
|
|
|
DROP TABLE test1;
|