mirror of
https://github.com/MariaDB/server.git
synced 2025-01-16 20:12:31 +01:00
3435e8a515
innodb_autoinc_lock_mode = 2 innodb_buffer_pool_dump_at_shutdown = ON innodb_buffer_pool_dump_pct = 25 innodb_buffer_pool_load_at_startup = ON innodb_checksum_algorithm = CRC32 innodb_file_format = Barracuda innodb_large_prefix = ON innodb_log_compressed_pages = ON innodb_purge_threads = 4 innodb_strict_mode = ON binlog_annotate_row_events = ON binlog_format = MIXED binlog-row-event-max-size = 8192 group_concat_max_len = 1M lock_wait_timeout = 86400 log_slow_admin_statements = ON log_slow_slave_statements = ON log_warnings = 2 max_allowed_packet = 16M replicate_annotate_row_events = ON slave_net_timeout = 60 sync_binlog = 1 aria_recover = BACKUP,QUICK myisam_recover_options = BACKUP,QUICK
62 lines
1.7 KiB
Text
62 lines
1.7 KiB
Text
#
|
|
# Test checksum
|
|
#
|
|
|
|
-- source include/have_innodb.inc
|
|
-- source include/have_maria.inc
|
|
|
|
--disable_warnings
|
|
drop table if exists t1;
|
|
--enable_warnings
|
|
|
|
create table t1 (a int null, v varchar(100)) engine=myisam checksum=0;
|
|
insert into t1 values(null, null), (1, "hello");
|
|
checksum table t1;
|
|
checksum table t1 quick;
|
|
checksum table t1 extended;
|
|
drop table if exists t1;
|
|
create table t1 (a int null, v varchar(100)) engine=myisam checksum=1;
|
|
insert into t1 values(null, null), (1, "hello");
|
|
checksum table t1;
|
|
checksum table t1 quick;
|
|
checksum table t1 extended;
|
|
drop table if exists t1;
|
|
|
|
create table t1 (a int null, v varchar(100)) engine=innodb checksum=0;
|
|
insert into t1 values(null, null), (1, "hello");
|
|
checksum table t1;
|
|
checksum table t1 quick;
|
|
checksum table t1 extended;
|
|
drop table t1;
|
|
|
|
create table t1 (a int null, v varchar(100)) engine=maria checksum=0;
|
|
insert into t1 values(null, null), (1, "hello");
|
|
checksum table t1;
|
|
checksum table t1 quick;
|
|
checksum table t1 extended;
|
|
drop table t1;
|
|
create table t1 (a int null, v varchar(100)) engine=maria checksum=1;
|
|
insert into t1 values(null, null), (1, "hello");
|
|
checksum table t1;
|
|
checksum table t1 quick;
|
|
checksum table t1 extended;
|
|
drop table t1;
|
|
|
|
|
|
#
|
|
# These checksums will be different prefixes fixed sizes rows with one extra
|
|
# flag byte
|
|
#
|
|
create table t1 (a int null, v varchar(100)) engine=myisam checksum=1 row_format=fixed;
|
|
insert into t1 values(null, null), (1, "hello");
|
|
checksum table t1;
|
|
checksum table t1 quick;
|
|
checksum table t1 extended;
|
|
drop table if exists t1;
|
|
|
|
create table t1 (a int null, v varchar(100)) engine=innodb checksum=0 row_format=compact;
|
|
insert into t1 values(null, null), (1, "hello");
|
|
checksum table t1;
|
|
checksum table t1 quick;
|
|
checksum table t1 extended;
|
|
drop table t1;
|