Fixes named graph creation on quad insertion using a Sled transaction

Bug #83
pull/84/head
Tpt 4 years ago
parent 6b051d2cf7
commit d9bdc6e4ac
  1. 4
      lib/src/store/sled.rs

@ -1133,6 +1133,10 @@ impl<'a> WritableEncodedStore for &'a SledTransaction<'a> {
write_gosp_quad(&mut buffer, quad);
self.gosp.insert(buffer.as_slice(), &[])?;
buffer.clear();
write_term(&mut buffer, quad.graph_name);
self.graphs.insert(buffer.as_slice(), &[])?;
buffer.clear();
}
Ok(())

Loading…
Cancel
Save