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
7633933f
Commit
7633933f
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
a433ac1b
62f12569
Changes
1
Hide 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 @
7633933f
...
...
@@ -16,7 +16,7 @@
/* Functions to compressed records */
#include "
myisamdef
.h"
#include "
fulltext
.h"
#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)
{
for
(
i
=
0
;
i
<
share
->
base
.
keys
;
i
++
)
{
share
->
keyinfo
[
i
].
keylength
+=
(
uint16
)
diff_length
;
share
->
keyinfo
[
i
].
minlength
+=
(
uint16
)
diff_length
;
share
->
keyinfo
[
i
].
maxlength
+=
(
uint16
)
diff_length
;
share
->
keyinfo
[
i
].
seg
[
share
->
keyinfo
[
i
].
keysegs
].
length
=
(
uint16
)
rec_reflength
;
MI_KEYDEF
*
keyinfo
=
&
share
->
keyinfo
[
i
];
keyinfo
->
keylength
+=
(
uint16
)
diff_length
;
keyinfo
->
minlength
+=
(
uint16
)
diff_length
;
keyinfo
->
maxlength
+=
(
uint16
)
diff_length
;
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