diff options
author | Carlos Garnacho <carlosg@gnome.org> | 2018-11-17 15:46:49 +0100 |
---|---|---|
committer | Carlos Garnacho <carlosg@gnome.org> | 2018-11-17 16:28:53 +0100 |
commit | 311f947c86df14d5d7b725b0105a9b3881e90b66 (patch) | |
tree | 383ff2f0339f8f546bd72ed3d1ae8c15969f9bf0 /tests/libtracker-data/tracker-sparql-test.c | |
parent | fc16c98e8eaa6c4067ab8264d232a655f82103d2 (diff) | |
download | tracker-311f947c86df14d5d7b725b0105a9b3881e90b66.tar.gz |
libtracker-data: Convert coalesced elements to string
Dropping that possibly fixes coalescing of URNs and datetimes with
other types transparently handled by SQLite. Eg. this broke the
"tracker search" CLI subcommand, where it uses:
SELECT COALESCE(nie:url(?u), ?u) ...
This resulted in "tracker search foo" returning "(null)" as the
file uri/urn.
We must translate each Expression to string so that correctly results
in the URL string being coalesced with the URN string. This is the
expected result, and a regression compared to the older parser.
Diffstat (limited to 'tests/libtracker-data/tracker-sparql-test.c')
0 files changed, 0 insertions, 0 deletions