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
a1d55ea0
Commit
a1d55ea0
authored
Jun 15, 2005
by
serg@serg.mylan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
cleanup for bug#11167.
portability alignment issues.
parent
362a45fd
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
5 deletions
+5
-5
sql/sql_select.cc
sql/sql_select.cc
+5
-5
No files found.
sql/sql_select.cc
View file @
a1d55ea0
...
...
@@ -8112,9 +8112,9 @@ store_record_in_cache(JOIN_CACHE *cache)
end
>
str
&&
end
[
-
1
]
==
' '
;
end
--
)
;
length
=
(
uint
)
(
end
-
str
);
memcpy
(
pos
+
sizeof
(
uint
)
,
str
,
length
);
*
((
uint
*
)
pos
)
=
length
;
pos
+=
length
+
sizeof
(
uint
)
;
memcpy
(
pos
+
2
,
str
,
length
);
int2store
(
pos
,
length
)
;
pos
+=
length
+
2
;
}
else
{
...
...
@@ -8177,9 +8177,9 @@ read_cached_record(JOIN_TAB *tab)
{
if
(
copy
->
strip
)
{
memcpy
(
copy
->
str
,
pos
+
sizeof
(
uint
),
length
=
*
((
uint
*
)
pos
));
memcpy
(
copy
->
str
,
pos
+
2
,
length
=
uint2korr
(
pos
));
memset
(
copy
->
str
+
length
,
' '
,
copy
->
length
-
length
);
pos
+=
sizeof
(
uint
)
+
length
;
pos
+=
2
+
length
;
}
else
{
...
...
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