Mercurial > hg > sonic-annotator
annotate tests/misc-queries/test-roqet @ 366:9f7297c47850
Update plugin handling to follow the smart pointers used in the svcore library. This is awkward in our context, and the outcome isn't a very nice one - but it
does look as if we had the potential for use-after-free in cases where a plugin
was both used "bare" and wrapped in an auto-deleting adapter; those should be
fixed now
author | Chris Cannam |
---|---|
date | Thu, 23 Apr 2020 15:51:55 +0100 |
parents | 92911f967a16 |
children |
rev | line source |
---|---|
Chris@0 | 1 |
Chris@0 | 2 PREFIX : <file:///work/runner/transforms/test.n3#> |
Chris@0 | 3 |
Chris@0 | 4 SELECT ?result ?mand |
Chris@0 | 5 |
Chris@0 | 6 FROM <file:///work/runner/transforms/test.n3> |
Chris@0 | 7 |
Chris@0 | 8 WHERE { |
Chris@0 | 9 ?result :mand ?mand . |
Chris@0 | 10 OPTIONAL { ?result :opt1 ?opt1 } . |
Chris@0 | 11 OPTIONAL { ?result :opt2 ?opt2 } . |
Chris@0 | 12 } |
Chris@0 | 13 |