Commit 4d76ed72 authored by Matthieu Dorier's avatar Matthieu Dorier

corrected CXX test

parent d6d66bf3
......@@ -169,7 +169,7 @@ static int put_get_erase_multi_test(sdskv::database& DB, uint32_t num_keys) {
values.push_back(v);
std::cout << "Inserting " << k << "===>\t" << v << std::endl;
}
DB.put(keys, values);
DB.put_multi(keys, values);
std::cout << "Successfuly inserted " << num_keys << " keys" << std::endl;
/* **** get keys **** */
......@@ -187,7 +187,7 @@ static int put_get_erase_multi_test(sdskv::database& DB, uint32_t num_keys) {
vals_subset.push_back(std::string(max_value_size, 0));
}
DB.get(keys_subset, vals_subset);
DB.get_multi(keys_subset, vals_subset);
for(unsigned i=0; i < keys_subset.size(); i++) {
if(vals_subset[i] != reference[keys_subset[i]]) {
......
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