Revision e03ee2c95bf1035309df609c01aaee91f8150fb1 authored by Christian Stewart on 17 June 2021, 02:11:03 UTC, committed by Christian Stewart on 18 June 2021, 06:36:57 UTC
Throughout the code there are calls to ValueOf() and NameOf() on the QuadStore.
The QuadStore currently returns a single value for these functions without an
error, but internally the QuadStore might run into some errors when processing
the value. This hack is clearly identified in the code: rather than return the
error, it's just logged.

If the QuadStore has an error while processing ValueOf or NameOf, the returned
value will be nil which might lead to many types of undefined behavior - such as
queries returning "nil" for one field of a Quad.

Fixes #985

Signed-off-by: Christian Stewart <christian@paral.in>
1 parent 08381ef
History
File Mode Size
glog
clog.go -rw-r--r-- 2.6 KB

back to top