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
ff0e2e2d
Commit
ff0e2e2d
authored
Jan 03, 2001
by
monty@donna.mysql.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed bug in myisamchk -r -k#
parent
5fe4c5af
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
2 deletions
+10
-2
Docs/manual.texi
Docs/manual.texi
+2
-0
myisam/mi_check.c
myisam/mi_check.c
+2
-1
myisam/myisamchk.c
myisam/myisamchk.c
+6
-1
No files found.
Docs/manual.texi
View file @
ff0e2e2d
...
...
@@ -40039,6 +40039,8 @@ though, so Version 3.23 is not released as a stable version yet.
@appendixsubsec Changes in release 3.23.30
@itemize @bullet
@item
Fixed that @code{myisamchk -k#} works again.
@item
Fixed a problem with replication when the binary log file went over 2G
on 32 bit systems.
@item
myisam/mi_check.c
View file @
ff0e2e2d
...
...
@@ -1182,7 +1182,8 @@ int mi_repair(MI_CHECK *param, register MI_INFO *info,
That is the next line for... (serg)
*/
share
->
state
.
key_map
=
((
ulonglong
)
1L
<<
share
->
base
.
keys
)
-
1
;
share
->
state
.
key_map
=
(((
ulonglong
)
1L
<<
share
->
base
.
keys
)
-
1
&
param
->
keys_in_use
);
info
->
state
->
key_file_length
=
share
->
base
.
keystart
;
...
...
myisam/myisamchk.c
View file @
ff0e2e2d
...
...
@@ -200,7 +200,7 @@ static struct option long_options[] =
static
void
print_version
(
void
)
{
printf
(
"%s Ver 1.3
8
for %s at %s
\n
"
,
my_progname
,
SYSTEM_TYPE
,
printf
(
"%s Ver 1.3
9
for %s at %s
\n
"
,
my_progname
,
SYSTEM_TYPE
,
MACHINE_TYPE
);
}
...
...
@@ -651,8 +651,13 @@ static int myisamchk(MI_CHECK *param, my_string filename)
if
(
param
->
testflag
&
(
T_REP
+
T_REP_BY_SORT
+
T_SORT_RECORDS
+
T_SORT_INDEX
))
{
if
(
param
->
testflag
&
(
T_REP
+
T_REP_BY_SORT
))
{
ulonglong
tmp
=
share
->
state
.
key_map
;
share
->
state
.
key_map
=
(((
ulonglong
)
1
<<
share
->
base
.
keys
)
-
1
)
&
param
->
keys_in_use
;
if
(
tmp
!=
share
->
state
.
key_map
)
info
->
update
|=
HA_STATE_CHANGED
;
}
VOID
(
fn_format
(
fixed_name
,
filename
,
""
,
MI_NAME_IEXT
,
4
+
(
param
->
opt_follow_links
?
16
:
0
)));
...
...
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