[tracker/tracker-0.10] SPARQL: Handle double and dateTime typed string literals
- From: Martyn James Russell <mr src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/tracker-0.10] SPARQL: Handle double and dateTime typed string literals
- Date: Wed, 30 Mar 2011 16:05:28 +0000 (UTC)
commit 4be252b9954d72f3b916b40f8f52bf97bd61ec7e
Author: Jürg Billeter <j bitron ch>
Date: Mon Mar 28 11:07:46 2011 +0200
SPARQL: Handle double and dateTime typed string literals
Fixes NB#240582.
src/libtracker-data/tracker-sparql-expression.vala | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/libtracker-data/tracker-sparql-expression.vala b/src/libtracker-data/tracker-sparql-expression.vala
index ce111b0..fdb0e2a 100644
--- a/src/libtracker-data/tracker-sparql-expression.vala
+++ b/src/libtracker-data/tracker-sparql-expression.vala
@@ -952,6 +952,8 @@ class Tracker.Sparql.Expression : Object {
switch (type) {
case PropertyType.INTEGER:
case PropertyType.BOOLEAN:
+ case PropertyType.DOUBLE:
+ case PropertyType.DATETIME:
if (query.no_cache) {
sql.append (escape_sql_string_literal (literal));
} else {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]