config root man

Current Path : /home/usr.opt/mysql57/mysql-test/suite/innodb/r/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //home/usr.opt/mysql57/mysql-test/suite/innodb/r/strict_checksum.result

#
# Bug #20031570 INNODB_CHECKSUM_ALGORITHM VARIABLE LEADS TO CRASHING
#
set global innodb_checksum_algorithm=crc32;
create table t1(f1 int not null primary key)engine=innodb;
SET GLOBAL innodb_buffer_pool_dump_at_shutdown=OFF;
# Restart the server with --log-error
# restart: --log-error=SEARCH_FILE --no-console
set global innodb_checksum_algorithm=strict_innodb;
set global innodb_limit_optimistic_insert_debug = 2;
select count(*) from t1;
count(*)
0
insert into t1 values(4),(5),(6);
SET GLOBAL innodb_buffer_pool_dump_at_shutdown=OFF;
# Restart the server with --log-error
# restart: --log-error=SEARCH_FILE --no-console
set global innodb_checksum_algorithm=strict_none;
set global innodb_limit_optimistic_insert_debug = 2;
select count(*) from t1;
count(*)
3
insert into t1 values(7),(8),(9);
SET GLOBAL innodb_buffer_pool_dump_at_shutdown=OFF;
# Restart the server with --log-error
# restart: --log-error=SEARCH_FILE --no-console
set global innodb_checksum_algorithm=strict_crc32;
select count(*) from t1;
count(*)
6
drop table t1;

Man Man