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
42712018
Commit
42712018
authored
Jul 12, 2001
by
serg@serg.mysql.com
Browse files
Options
Browse Files
Download
Plain Diff
Merge work:/home/bk/mysql into serg.mysql.com:/usr/home/serg/Abk/mysql
parents
fa4e355d
a7531364
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
myisam/ft_update.c
myisam/ft_update.c
+4
-0
No files found.
myisam/ft_update.c
View file @
42712018
...
@@ -145,6 +145,10 @@ int _mi_ft_cmp(MI_INFO *info, uint keynr, const byte *rec1, const byte *rec2)
...
@@ -145,6 +145,10 @@ int _mi_ft_cmp(MI_INFO *info, uint keynr, const byte *rec1, const byte *rec2)
memcpy_fixed
(
&
pos2
,
pos2
+
keyseg
->
bit_start
,
sizeof
(
char
*
));
memcpy_fixed
(
&
pos2
,
pos2
+
keyseg
->
bit_start
,
sizeof
(
char
*
));
set_if_smaller
(
len2
,
keyseg
->
length
);
set_if_smaller
(
len2
,
keyseg
->
length
);
}
}
else
/* fixed length key */
{
len1
=
len2
=
keyseg
->
length
;
}
if
((
len1
!=
len2
)
||
memcmp
(
pos1
,
pos2
,
len1
))
if
((
len1
!=
len2
)
||
memcmp
(
pos1
,
pos2
,
len1
))
return
THOSE_TWO_DAMN_KEYS_ARE_REALLY_DIFFERENT
;
return
THOSE_TWO_DAMN_KEYS_ARE_REALLY_DIFFERENT
;
}
}
...
...
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