Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
tarantool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
core
tarantool
Commits
24b70de1
Commit
24b70de1
authored
7 years ago
by
Roman Tsisyk
Browse files
Options
Downloads
Patches
Plain Diff
Fix compilation warnings
parent
1f7cea34
No related branches found
Branches containing commit
Tags
1.7.5
Tags containing commit
No related merge requests found
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
src/box/replication.cc
+2
-0
2 additions, 0 deletions
src/box/replication.cc
src/box/space.cc
+1
-1
1 addition, 1 deletion
src/box/space.cc
src/box/vy_tx.c
+1
-1
1 addition, 1 deletion
src/box/vy_tx.c
test/unit/vy_point_iterator.c
+1
-1
1 addition, 1 deletion
test/unit/vy_point_iterator.c
with
5 additions
and
3 deletions
src/box/replication.cc
+
2
−
0
View file @
24b70de1
...
...
@@ -76,6 +76,7 @@ replication_init(void)
{
mempool_create
(
&
replica_pool
,
&
cord
()
->
slabc
,
sizeof
(
struct
replica
));
memset
(
&
replicaset
,
0
,
sizeof
(
replicaset
));
replicaset_new
(
&
replicaset
);
vclock_create
(
&
replicaset_vclock
);
}
...
...
@@ -183,6 +184,7 @@ void
replicaset_update
(
struct
applier
**
appliers
,
int
count
)
{
replicaset_t
uniq
;
memset
(
&
uniq
,
0
,
sizeof
(
uniq
));
replicaset_new
(
&
uniq
);
struct
replica
*
replica
,
*
next
;
...
...
This diff is collapsed.
Click to expand it.
src/box/space.cc
+
1
−
1
View file @
24b70de1
...
...
@@ -83,7 +83,7 @@ space_new(struct space_def *def, struct rlist *key_list)
uint32_t
index_id_max
=
0
;
uint32_t
index_count
=
0
;
struct
index_def
*
index_def
;
struct
index_def
*
pk
=
rlist_empty
(
key_list
)
?
NULL
:
MAYBE_UNUSED
struct
index_def
*
pk
=
rlist_empty
(
key_list
)
?
NULL
:
rlist_first_entry
(
key_list
,
struct
index_def
,
link
);
def
=
space_def_dup
(
def
);
rlist_foreach_entry
(
index_def
,
key_list
,
link
)
{
...
...
This diff is collapsed.
Click to expand it.
src/box/vy_tx.c
+
1
−
1
View file @
24b70de1
...
...
@@ -690,7 +690,7 @@ vy_tx_track(struct vy_tx *tx, struct vy_index *index,
struct
tuple
*
key
,
bool
is_gap
)
{
struct
txv
*
v
;
uint32_t
part_count
=
tuple_field_count
(
key
);
MAYBE_UNUSED
uint32_t
part_count
=
tuple_field_count
(
key
);
/* We do not support tracking range requests. */
assert
(
part_count
>=
index
->
cmp_def
->
part_count
);
...
...
This diff is collapsed.
Click to expand it.
test/unit/vy_point_iterator.c
+
1
−
1
View file @
24b70de1
...
...
@@ -268,7 +268,7 @@ test_basic()
continue
;
}
}
uint32_t
got
;
uint32_t
got
=
0
;
tuple_field_u32
(
res
,
1
,
&
got
);
if
(
got
!=
expect
&&
expect_lsn
!=
vy_stmt_lsn
(
res
))
results_ok
=
false
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment