Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mobject-store
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
11
Issues
11
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
sds
mobject-store
Commits
eca1aef2
Commit
eca1aef2
authored
May 03, 2018
by
Matthieu Dorier
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adapted to new SDSKV API
parent
b886ddfe
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
src/server/mobject-daemon-helper.c
src/server/mobject-daemon-helper.c
+4
-4
No files found.
src/server/mobject-daemon-helper.c
View file @
eca1aef2
...
...
@@ -23,13 +23,13 @@ int mobject_sdskv_provider_setup(sdskv_provider_t sdskv_prov)
int
ret
;
/* SDSKV provider initialization */
sdskv_database_id_t
oid_map_id
,
name_map_id
,
seg_map_id
,
omap_map_id
;
ret
=
sdskv_provider_add_database
(
sdskv_prov
,
"oid_map"
,
KVDB_MAP
,
&
oid_map_compare
,
&
oid_map_id
);
ret
=
sdskv_provider_add_database
(
sdskv_prov
,
"oid_map"
,
""
,
KVDB_MAP
,
&
oid_map_compare
,
&
oid_map_id
);
ASSERT
(
ret
==
0
,
"sdskv_provider_add_database() failed to add database
\"
oid_map
\"
(ret = %d)
\n
"
,
ret
);
ret
=
sdskv_provider_add_database
(
sdskv_prov
,
"name_map"
,
KVDB_MAP
,
&
name_map_compare
,
&
name_map_id
);
ret
=
sdskv_provider_add_database
(
sdskv_prov
,
"name_map"
,
""
,
KVDB_MAP
,
&
name_map_compare
,
&
name_map_id
);
ASSERT
(
ret
==
0
,
"sdskv_provider_add_database() failed to add database
\"
name_map
\"
(ret = %d)
\n
"
,
ret
);
ret
=
sdskv_provider_add_database
(
sdskv_prov
,
"seg_map"
,
KVDB_MAP
,
&
seg_map_compare
,
&
seg_map_id
);
ret
=
sdskv_provider_add_database
(
sdskv_prov
,
"seg_map"
,
""
,
KVDB_MAP
,
&
seg_map_compare
,
&
seg_map_id
);
ASSERT
(
ret
==
0
,
"sdskv_provider_add_database() failed to add database
\"
seg_map
\"
(ret = %d)
\n
"
,
ret
);
ret
=
sdskv_provider_add_database
(
sdskv_prov
,
"omap_map"
,
KVDB_MAP
,
&
omap_map_compare
,
&
omap_map_id
);
ret
=
sdskv_provider_add_database
(
sdskv_prov
,
"omap_map"
,
""
,
KVDB_MAP
,
&
omap_map_compare
,
&
omap_map_id
);
ASSERT
(
ret
==
0
,
"sdskv_provider_add_database() failed to add database
\"
omap_map
\"
(ret = %d)
\n
"
,
ret
);
}
...
...
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