-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix: NPE reading optional results from cache
We were seeing null pointer exceptions reading results from the disk that used OPTIONAL in the query. Grafter has been updated in grafter/#130 to handle nulls safely, which prevents the exception, but does put nils in our result sets. Meaning that the same query can have different results from the db (no nils) or the disk (w/ nils). I've added a test on the graph loading time to ensure everything returns as it should. That's an OPTIONAL using query so a great example. This resolves #264
- Loading branch information
Dan Midwood
committed
Jun 8, 2018
1 parent
aa3b3b4
commit 14a5271
Showing
2 changed files
with
22 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters