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
a930d952
Commit
a930d952
authored
Jun 14, 2014
by
Leif Walsh
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Revert "fixed typo #226"
This reverts commit
467a5a99
.
parent
3e61a540
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
ft/ft_node-serialize.cc
ft/ft_node-serialize.cc
+3
-3
No files found.
ft/ft_node-serialize.cc
View file @
a930d952
...
@@ -1168,21 +1168,21 @@ deserialize_child_buffer(NONLEAF_CHILDINFO bnc, struct rbuf *rbuf) {
...
@@ -1168,21 +1168,21 @@ deserialize_child_buffer(NONLEAF_CHILDINFO bnc, struct rbuf *rbuf) {
// read in each message tree (fresh, stale, broadcast)
// read in each message tree (fresh, stale, broadcast)
nfresh
=
rbuf_int
(
rbuf
);
nfresh
=
rbuf_int
(
rbuf
);
bytevec
fresh_offsets_src_v
;
bytevec
fresh_offsets_src_v
;
rbuf_literal_bytes
(
rbuf
,
&
fresh_offsets_
src_
v
,
nfresh
*
(
sizeof
*
fresh_offsets
));
rbuf_literal_bytes
(
rbuf
,
&
fresh_offsets_v
,
nfresh
*
(
sizeof
*
fresh_offsets
));
const
int32_t
*
fresh_offsets_src
=
(
const
int32_t
*
)
fresh_offsets_src_v
;
const
int32_t
*
fresh_offsets_src
=
(
const
int32_t
*
)
fresh_offsets_src_v
;
for
(
int
i
=
0
;
i
<
nfresh
;
i
++
)
{
for
(
int
i
=
0
;
i
<
nfresh
;
i
++
)
{
fresh_offsets
[
i
]
=
toku_dtoh32
(
fresh_offsets_src
[
i
]);
fresh_offsets
[
i
]
=
toku_dtoh32
(
fresh_offsets_src
[
i
]);
}
}
nstale
=
rbuf_int
(
rbuf
);
nstale
=
rbuf_int
(
rbuf
);
bytevec
stale_offsets_src_v
;
bytevec
stale_offsets_src_v
;
rbuf_literal_bytes
(
rbuf
,
&
stale_offsets_
src_
v
,
nstale
*
(
sizeof
*
stale_offsets
));
rbuf_literal_bytes
(
rbuf
,
&
stale_offsets_v
,
nstale
*
(
sizeof
*
stale_offsets
));
const
int32_t
*
stale_offsets_src
=
(
const
int32_t
*
)
stale_offsets_src_v
;
const
int32_t
*
stale_offsets_src
=
(
const
int32_t
*
)
stale_offsets_src_v
;
for
(
int
i
=
0
;
i
<
nstale
;
i
++
)
{
for
(
int
i
=
0
;
i
<
nstale
;
i
++
)
{
stale_offsets
[
i
]
=
toku_dtoh32
(
stale_offsets_src
[
i
]);
stale_offsets
[
i
]
=
toku_dtoh32
(
stale_offsets_src
[
i
]);
}
}
nbroadcast_offsets
=
rbuf_int
(
rbuf
);
nbroadcast_offsets
=
rbuf_int
(
rbuf
);
bytevec
broadcast_offsets_src_v
;
bytevec
broadcast_offsets_src_v
;
rbuf_literal_bytes
(
rbuf
,
&
broadcast_offsets_
src_
v
,
nbroadcast_offsets
*
(
sizeof
*
broadcast_offsets
));
rbuf_literal_bytes
(
rbuf
,
&
broadcast_offsets_v
,
nbroadcast_offsets
*
(
sizeof
*
broadcast_offsets
));
const
int32_t
*
broadcast_offsets_src
=
(
const
int32_t
*
)
broadcast_offsets_src_v
;
const
int32_t
*
broadcast_offsets_src
=
(
const
int32_t
*
)
broadcast_offsets_src_v
;
for
(
int
i
=
0
;
i
<
nbroadcast_offsets
;
i
++
)
{
for
(
int
i
=
0
;
i
<
nbroadcast_offsets
;
i
++
)
{
broadcast_offsets
[
i
]
=
toku_dtoh32
(
broadcast_offsets_src
[
i
]);
broadcast_offsets
[
i
]
=
toku_dtoh32
(
broadcast_offsets_src
[
i
]);
...
...
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