[tracker] Revert "libtracker-data: Wrap BIND argument with () in SQL"
- From: Carlos Garnacho <carlosg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker] Revert "libtracker-data: Wrap BIND argument with () in SQL"
- Date: Mon, 21 Nov 2016 14:59:09 +0000 (UTC)
commit 454272aa6091c8d92266e689842b1e985084d1f0
Author: Carlos Garnacho <carlosg gnome org>
Date: Mon Nov 21 15:53:26 2016 +0100
Revert "libtracker-data: Wrap BIND argument with () in SQL"
This reverts commit 8fc47cfed03030e5377bc7989e5afd24e9b24c5b.
Too easy to be true, it breaks other legit situations.
src/libtracker-data/tracker-sparql-pattern.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/libtracker-data/tracker-sparql-pattern.vala b/src/libtracker-data/tracker-sparql-pattern.vala
index d37474b..6a67679 100644
--- a/src/libtracker-data/tracker-sparql-pattern.vala
+++ b/src/libtracker-data/tracker-sparql-pattern.vala
@@ -1130,9 +1130,9 @@ class Tracker.Sparql.Pattern : Object {
if (in_group_graph_pattern) {
// Surround the entire group graph pattern with
// SELECT $binding , * FROM (...)
- var binding_sql = new StringBuilder ("SELECT (");
+ var binding_sql = new StringBuilder ("SELECT ");
add_variable_binding (binding_sql, binding, VariableState.BOUND);
- binding_sql.append (") * FROM (");
+ binding_sql.append (" * FROM (");
sql.insert (group_graph_pattern_start, binding_sql.str);
sql.append (")");
} else {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]