Commit c9058a03 authored by Rob Latham's avatar Rob Latham
Browse files

fixup: make tests pass with new api

parent b63fd5a4
......@@ -181,8 +181,8 @@ int main(int argc, char **argv)
sdskv_database_id_t db_id;
ret = sdskv_provider_add_database(provider,
opts.db_names[i],
opts.db_names[i], // use the name as path
opts.db_names[i],
"",
opts.db_types[i], SDSKV_COMPARE_DEFAULT,
&db_id);
......@@ -215,7 +215,7 @@ int main(int argc, char **argv)
sdskv_database_id_t db_id;
ret = sdskv_provider_add_database(provider,
opts.db_names[i],
opts.db_names[i], // use the name as path
"",
opts.db_types[i],
SDSKV_COMPARE_DEFAULT,
&db_id);
......
......@@ -188,7 +188,7 @@ int main(int argc, char **argv)
sdskv_database_id_t db_id;
ret = sdskv_provider_add_database(provider,
opts.db_names[i], opts.db_types[i], &custom_key_cmp,
opts.db_names[i], "", opts.db_types[i], &custom_key_cmp,
&db_id);
if(ret != 0)
......@@ -219,7 +219,7 @@ int main(int argc, char **argv)
for(i=0; i < opts.num_db; i++) {
sdskv_database_id_t db_id;
ret = sdskv_provider_add_database(provider,
opts.db_names[i], opts.db_types[i],
opts.db_names[i], "", opts.db_types[i],
&custom_key_cmp,
&db_id);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment