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
66289087
Commit
66289087
authored
Aug 22, 2006
by
unknown
Browse files
Options
Browse Files
Download
Plain Diff
Merge april.(none):/home/svoj/devel/bk/mysql-4.1-engines
into april.(none):/home/svoj/devel/mysql/BUG19702/mysql-4.1
parents
0f64834d
c17fc16c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
6 deletions
+14
-6
myisam/mi_packrec.c
myisam/mi_packrec.c
+14
-6
No files found.
myisam/mi_packrec.c
View file @
66289087
...
@@ -16,7 +16,7 @@
...
@@ -16,7 +16,7 @@
/* Functions to compressed records */
/* Functions to compressed records */
#include "
myisamdef
.h"
#include "
fulltext
.h"
#define IS_CHAR ((uint) 32768)
/* Bit if char (not offset) in tree */
#define IS_CHAR ((uint) 32768)
/* Bit if char (not offset) in tree */
...
@@ -228,11 +228,19 @@ my_bool _mi_read_pack_info(MI_INFO *info, pbool fix_keys)
...
@@ -228,11 +228,19 @@ my_bool _mi_read_pack_info(MI_INFO *info, pbool fix_keys)
{
{
for
(
i
=
0
;
i
<
share
->
base
.
keys
;
i
++
)
for
(
i
=
0
;
i
<
share
->
base
.
keys
;
i
++
)
{
{
share
->
keyinfo
[
i
].
keylength
+=
(
uint16
)
diff_length
;
MI_KEYDEF
*
keyinfo
=
&
share
->
keyinfo
[
i
];
share
->
keyinfo
[
i
].
minlength
+=
(
uint16
)
diff_length
;
keyinfo
->
keylength
+=
(
uint16
)
diff_length
;
share
->
keyinfo
[
i
].
maxlength
+=
(
uint16
)
diff_length
;
keyinfo
->
minlength
+=
(
uint16
)
diff_length
;
share
->
keyinfo
[
i
].
seg
[
share
->
keyinfo
[
i
].
keysegs
].
length
=
keyinfo
->
maxlength
+=
(
uint16
)
diff_length
;
(
uint16
)
rec_reflength
;
keyinfo
->
seg
[
keyinfo
->
flag
&
HA_FULLTEXT
?
FT_SEGS
:
keyinfo
->
keysegs
].
length
=
(
uint16
)
rec_reflength
;
}
if
(
share
->
ft2_keyinfo
.
seg
)
{
MI_KEYDEF
*
ft2_keyinfo
=
&
share
->
ft2_keyinfo
;
ft2_keyinfo
->
keylength
+=
(
uint16
)
diff_length
;
ft2_keyinfo
->
minlength
+=
(
uint16
)
diff_length
;
ft2_keyinfo
->
maxlength
+=
(
uint16
)
diff_length
;
}
}
}
}
...
...
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