Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
51ca5d51
Commit
51ca5d51
authored
Jun 10, 2022
by
Marko Mäkelä
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix ./mtr --embedded
This fixes up commit
3d241eb9
parent
e11b82f8
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
5 deletions
+8
-5
mysql-test/suite/maria/encrypt-no-key.result
mysql-test/suite/maria/encrypt-no-key.result
+3
-3
mysql-test/suite/maria/encrypt-no-key.test
mysql-test/suite/maria/encrypt-no-key.test
+2
-0
mysql-test/suite/maria/maria-recover.result
mysql-test/suite/maria/maria-recover.result
+2
-2
mysql-test/suite/maria/maria-recover.test
mysql-test/suite/maria/maria-recover.test
+1
-0
No files found.
mysql-test/suite/maria/encrypt-no-key.result
View file @
51ca5d51
...
...
@@ -6,12 +6,12 @@ create table t1 (pk int primary key, a int, key(a)) engine=aria transactional=1;
alter table t1 disable keys;
insert into t1 values (1,1);
alter table t1 enable keys;
ERROR HY000: Unknown key id 1 for
./
test/t1. Can't continue!
ERROR HY000: Unknown key id 1 for test/t1. Can't continue!
repair table t1 use_frm;
Table Op Msg_type Msg_text
test.t1 repair warning Number of rows changed from 0 to 1
test.t1 repair Error Unknown key id 1 for
./
test/t1. Can't continue!
test.t1 repair Error Unknown key id 1 for
./
test/t1. Can't continue!
test.t1 repair Error Unknown key id 1 for test/t1. Can't continue!
test.t1 repair Error Unknown key id 1 for test/t1. Can't continue!
test.t1 repair status OK
drop table t1;
set global aria_encrypt_tables= default;
mysql-test/suite/maria/encrypt-no-key.test
View file @
51ca5d51
...
...
@@ -10,9 +10,11 @@ create table t1 (pk int primary key, a int, key(a)) engine=aria transactional=1;
alter
table
t1
disable
keys
;
insert
into
t1
values
(
1
,
1
);
--
replace_result
\\
/
--
replace_regex
/
for
.*
test
/
for
test
/
--
error
192
alter
table
t1
enable
keys
;
--
replace_result
\\
/
--
replace_regex
/
for
.*
test
/
for
test
/
repair
table
t1
use_frm
;
drop
table
t1
;
set
global
aria_encrypt_tables
=
default
;
mysql-test/suite/maria/maria-recover.result
View file @
51ca5d51
...
...
@@ -26,9 +26,9 @@ a
ThursdayMorningsMarket
ThursdayMorningsMarketb
Warnings:
Error 145 Got error '145 "Table was marked as crashed and should be repaired"' for '
./mysqltest/
t_corrupted2'
Error 145 Got error '145 "Table was marked as crashed and should be repaired"' for 't_corrupted2'
Warning 1034 1 client is using or hasn't closed the table properly
Error 176 Got error '176 "Read page with wrong checksum"' for '
./mysqltest/
t_corrupted2.MAI'
Error 176 Got error '176 "Read page with wrong checksum"' for 't_corrupted2.MAI'
Error 1034 Can't read indexpage from page: 1, error: 176
select * from t_corrupted2;
a
...
...
mysql-test/suite/maria/maria-recover.test
View file @
51ca5d51
...
...
@@ -79,6 +79,7 @@ perl;
close
FILE
;
EOF
--
replace_result
\\
/
--
replace_regex
/
for
'.*t_corrupted2/for '
t_corrupted2
/
--
enable_prepare_warnings
select
*
from
t_corrupted2
;
# should show corruption and repair messages
--
disable_prepare_warnings
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment