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
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
2a6b91bc
Commit
2a6b91bc
authored
Sep 04, 2002
by
serg@sergbook.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wrong test for -q/-qq (T_QUICK/T_FORCE_UNIQUENESS) in myisamchk corrected
parent
274a253a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
myisam/mi_check.c
myisam/mi_check.c
+2
-2
No files found.
myisam/mi_check.c
View file @
2a6b91bc
...
@@ -1238,7 +1238,7 @@ int mi_repair(MI_CHECK *param, register MI_INFO *info,
...
@@ -1238,7 +1238,7 @@ int mi_repair(MI_CHECK *param, register MI_INFO *info,
USE_WHOLE_KEY
);
USE_WHOLE_KEY
);
}
}
sort_info
.
dupp
++
;
sort_info
.
dupp
++
;
if
(
!
(
rep_quick
&
T_FORCE_UNIQUENESS
)
)
if
(
(
param
->
testflag
&
(
T_FORCE_UNIQUENESS
|
T_QUICK
))
==
T_QUICK
)
{
{
param
->
testflag
|=
T_RETRY_WITHOUT_QUICK
;
param
->
testflag
|=
T_RETRY_WITHOUT_QUICK
;
param
->
error_printed
=
1
;
param
->
error_printed
=
1
;
...
@@ -3210,7 +3210,7 @@ static int sort_delete_record(MI_SORT_PARAM *sort_param)
...
@@ -3210,7 +3210,7 @@ static int sort_delete_record(MI_SORT_PARAM *sort_param)
MI_INFO
*
info
=
sort_info
->
info
;
MI_INFO
*
info
=
sort_info
->
info
;
DBUG_ENTER
(
"sort_delete_record"
);
DBUG_ENTER
(
"sort_delete_record"
);
if
(
!
(
param
->
testflag
&
T_FORCE_UNIQUENESS
)
)
if
(
(
param
->
testflag
&
(
T_FORCE_UNIQUENESS
|
T_QUICK
))
==
T_QUICK
)
{
{
mi_check_print_error
(
param
,
mi_check_print_error
(
param
,
"Quick-recover aborted; Run recovery without switch -q or with switch -qq"
);
"Quick-recover aborted; Run recovery without switch -q or with switch -qq"
);
...
...
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