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
55edbd24
Commit
55edbd24
authored
Aug 30, 2001
by
monty@hundin.mysql.fi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed problem in myisampack with blobs
parent
85fe710b
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
myisam/myisamchk.c
myisam/myisamchk.c
+3
-2
myisam/myisampack.c
myisam/myisampack.c
+2
-2
No files found.
myisam/myisamchk.c
View file @
55edbd24
...
...
@@ -200,7 +200,7 @@ static struct option long_options[] =
static
void
print_version
(
void
)
{
printf
(
"%s Ver 1.5
0
for %s at %s
\n
"
,
my_progname
,
SYSTEM_TYPE
,
printf
(
"%s Ver 1.5
1
for %s at %s
\n
"
,
my_progname
,
SYSTEM_TYPE
,
MACHINE_TYPE
);
}
...
...
@@ -608,6 +608,7 @@ static int myisamchk(MI_CHECK *param, my_string filename)
info
->
s
->
state
.
header
.
file_version
[
3
]
!=
myisam_file_magic
[
3
]
||
(
set_charset
&&
set_charset
->
number
!=
share
->
state
.
header
.
language
)))
{
if
(
set_charset
)
check_param
.
language
=
set_charset
->
number
;
if
(
recreate_table
(
&
check_param
,
&
info
,
filename
))
{
...
...
myisam/myisampack.c
View file @
55edbd24
...
...
@@ -251,7 +251,7 @@ static struct option long_options[] =
static
void
print_version
(
void
)
{
printf
(
"%s Ver 1.
9
for %s on %s
\n
"
,
my_progname
,
SYSTEM_TYPE
,
MACHINE_TYPE
);
printf
(
"%s Ver 1.
10
for %s on %s
\n
"
,
my_progname
,
SYSTEM_TYPE
,
MACHINE_TYPE
);
}
static
void
usage
(
void
)
...
...
@@ -1670,7 +1670,7 @@ static int compress_isam_file(MRG_INFO *mrg, HUFF_COUNTS *huff_counts)
max_calc_length
+=
huff_counts
[
i
].
tree
->
height
;
else
if
(
huff_counts
[
i
].
field_type
==
FIELD_BLOB
||
huff_counts
[
i
].
field_type
==
FIELD_VARCHAR
)
max_calc_length
=
huff_counts
[
i
].
tree
->
height
*
huff_counts
[
i
].
max_length
+
huff_counts
[
i
].
length_bits
+
1
;
max_calc_length
+
=
huff_counts
[
i
].
tree
->
height
*
huff_counts
[
i
].
max_length
+
huff_counts
[
i
].
length_bits
+
1
;
else
max_calc_length
+=
(
huff_counts
[
i
].
field_length
-
huff_counts
[
i
].
max_zero_fill
)
*
...
...
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