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
8acb7336
Commit
8acb7336
authored
Jul 11, 2007
by
gkodinov/kgeorge@magare.gmz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
porting 29070 to 5.1-opt
parent
b4ad2ecc
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
storage/myisam/sp_key.c
storage/myisam/sp_key.c
+3
-3
No files found.
storage/myisam/sp_key.c
View file @
8acb7336
...
...
@@ -78,7 +78,7 @@ uint sp_make_key(register MI_INFO *info, uint keynr, uchar *key,
if
(
keyseg
->
flag
&
HA_SWAP_KEY
)
{
char
buf
[
sizeof
(
double
)];
u
char
buf
[
sizeof
(
double
)];
float8store
(
buf
,
val
);
pos
=
&
buf
[
length
];
...
...
@@ -87,7 +87,7 @@ uint sp_make_key(register MI_INFO *info, uint keynr, uchar *key,
}
else
{
float8store
((
byte
*
)
key
,
val
);
float8store
((
uchar
*
)
key
,
val
);
key
+=
length
;
}
len
+=
length
;
...
...
@@ -128,7 +128,7 @@ static int sp_add_point_to_mbr(uchar *(*wkb), uchar *end, uint n_dims,
{
if
((
*
wkb
)
>
end
-
8
)
return
-
1
;
float8get
(
ord
,
(
const
byte
*
)
*
wkb
);
float8get
(
ord
,
(
const
uchar
*
)
*
wkb
);
(
*
wkb
)
+=
8
;
if
(
ord
<
*
mbr
)
*
mbr
=
ord
;
...
...
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