mirror of
https://github.com/MariaDB/server.git
synced 2025-01-19 13:32:33 +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
39 lines
1.2 KiB
Text
39 lines
1.2 KiB
Text
select @@global.aria_recover_options;
|
|
@@global.aria_recover_options
|
|
BACKUP
|
|
set global aria_recover_options=off;
|
|
select @@global.aria_recover_options;
|
|
@@global.aria_recover_options
|
|
OFF
|
|
set global aria_recover_options=default;
|
|
select @@global.aria_recover_options;
|
|
@@global.aria_recover_options
|
|
BACKUP,QUICK
|
|
set global aria_recover_options=normal;
|
|
select @@global.aria_recover_options;
|
|
@@global.aria_recover_options
|
|
NORMAL
|
|
drop database if exists mysqltest;
|
|
create database mysqltest;
|
|
use mysqltest;
|
|
create table t1 (a varchar(1000), index(a)) engine=aria;
|
|
insert into t1 values("ThursdayMorningsMarket");
|
|
flush table t1;
|
|
insert into t1 select concat(a,'b') from t1 limit 1;
|
|
set global aria_checkpoint_interval=1000;
|
|
select * from t_corrupted2;
|
|
a
|
|
ThursdayMorningsMarket
|
|
ThursdayMorningsMarketb
|
|
Warnings:
|
|
Error 145 t_corrupted2' is marked as crashed and should be repaired
|
|
Error 1194 t_corrupted2' is marked as crashed and should be repaired
|
|
Error 1034 1 client is using or hasn't closed the table properly
|
|
Error 1034 Wrong base information on indexpage at page: 1
|
|
select * from t_corrupted2;
|
|
a
|
|
ThursdayMorningsMarket
|
|
ThursdayMorningsMarketb
|
|
drop database mysqltest;
|
|
set global aria_recover_options=backup;
|
|
set global aria_checkpoint_interval=30;
|