[tracker] SPARQL: Fix crash with unsupported predicate variable query
- From: Jürg Billeter <juergbi src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [tracker] SPARQL: Fix crash with unsupported predicate variable query
- Date: Fri, 4 Sep 2009 12:20:57 +0000 (UTC)
commit 5ba594b9571e0a78a68bc0358f4f6e570f376bdf
Author: Jürg Billeter <j bitron ch>
Date: Fri Sep 4 14:20:06 2009 +0200
SPARQL: Fix crash with unsupported predicate variable query
src/libtracker-data/tracker-sparql-query.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/libtracker-data/tracker-sparql-query.vala b/src/libtracker-data/tracker-sparql-query.vala
index aeb9d87..ba93fd3 100644
--- a/src/libtracker-data/tracker-sparql-query.vala
+++ b/src/libtracker-data/tracker-sparql-query.vala
@@ -231,7 +231,7 @@ public class Tracker.SparqlQuery : Object {
}
} else {
// UNION over all properties would exceed SQLite limits
- throw get_internal_error ("Unrestricted predicate variables not supported");
+ throw query.get_internal_error ("Unrestricted predicate variables not supported");
}
return sql.str;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]