File: maria-recover.result

package info (click to toggle)
mariadb-10.0 10.0.32-0%2Bdeb8u1
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 476,064 kB
  • sloc: cpp: 1,400,131; ansic: 832,140; perl: 54,391; sh: 41,304; pascal: 32,365; yacc: 14,921; xml: 5,257; sql: 4,667; cs: 4,647; makefile: 4,555; ruby: 4,465; python: 2,292; lex: 1,427; java: 941; asm: 295; awk: 54; php: 22; sed: 16
file content (39 lines) | stat: -rw-r--r-- 1,142 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
select @@global.aria_recover;
@@global.aria_recover
BACKUP
set global aria_recover=off;
select @@global.aria_recover;
@@global.aria_recover
OFF
set global aria_recover=default;
select @@global.aria_recover;
@@global.aria_recover
NORMAL
set global aria_recover=normal;
select @@global.aria_recover;
@@global.aria_recover
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=backup;
set global aria_checkpoint_interval=30;