Commit cc639c4d authored by Matthieu Dorier's avatar Matthieu Dorier
Browse files

corrected WriteBatch implementation

parent dd89d219
......@@ -251,7 +251,7 @@ class DataStore::Impl {
// Create the product id
const auto& db = m_databases[db_index];
try {
db.put(keys, values);
db.put_multi(keys, values);
} catch(sdskv::exception& ex) {
throw Exception("Error occured when calling sdskv::database::put (SDSKV error=" +std::to_string(ex.error()) + ")");
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